From 9e108aeb450281d8fb7bc42bb6b0d2b543994980 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 11 Jul 2014 22:57:30 +0100 Subject: album: avoid excess dependencies by not matching internal(*) --- IkiWiki/Plugin/album.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/IkiWiki/Plugin/album.pm b/IkiWiki/Plugin/album.pm index c0ccc08c7..b2a3e583d 100644 --- a/IkiWiki/Plugin/album.pm +++ b/IkiWiki/Plugin/album.pm @@ -265,11 +265,7 @@ sub collect_images { $sections{$filter} = \@section; } - # the pagespec here matches everything; the part we actually want - # is the sorting - $sections{""} = [pagespec_match_list($album, - "internal(*)", sort => $sort, - list => [@remaining])]; + $sections{""} = [IkiWiki::sort_pages($sort, \@remaining)]; my @ordered; -- cgit v1.2.3