diff options
author | Simon McVittie <smcv@debian.org> | 2014-07-11 22:57:30 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2017-09-15 20:43:44 +0100 |
commit | b7145ce8c19daf243664a6264b2e22dd13a7b887 (patch) | |
tree | 9f9bda1d56a8a9a7d0f50eca9674aa4ee30cd496 | |
parent | f739dea7876b8bc2bdbc7f5f05e6f29fc67e97fd (diff) | |
download | ikiwiki-b7145ce8c19daf243664a6264b2e22dd13a7b887.tar ikiwiki-b7145ce8c19daf243664a6264b2e22dd13a7b887.tar.gz |
album: avoid excess dependencies by not matching internal(*)
-rw-r--r-- | IkiWiki/Plugin/album.pm | 6 |
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; |