diff options
author | Simon McVittie <smcv@debian.org> | 2014-07-11 22:57:30 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-05-14 19:07:21 +0100 |
commit | 611cb546cbb20c9f9d26c6960b25df807c7fa7e6 (patch) | |
tree | cbf19adc0533a22ca587f37613c78e2d4a2a43c0 | |
parent | f6f93ec2a189172a41063a2909a3e7dfb8c00f4c (diff) | |
download | ikiwiki-611cb546cbb20c9f9d26c6960b25df807c7fa7e6.tar ikiwiki-611cb546cbb20c9f9d26c6960b25df807c7fa7e6.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; |