aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
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;