aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-07-11 22:57:30 +0100
committerSimon McVittie <smcv@debian.org>2014-07-11 22:57:30 +0100
commit9e108aeb450281d8fb7bc42bb6b0d2b543994980 (patch)
tree13981f6efca9b799b92f666588ee62c37b33ec46 /IkiWiki/Plugin
parentd45c490c6c8a2191f3a3dd2c3c70d1237326fc24 (diff)
downloadikiwiki-9e108aeb450281d8fb7bc42bb6b0d2b543994980.tar
ikiwiki-9e108aeb450281d8fb7bc42bb6b0d2b543994980.tar.gz
album: avoid excess dependencies by not matching internal(*)
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/album.pm6
1 files changed, 1 insertions, 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;