mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 16:33:00 +00:00
Naturally sort all tags list alphabetically. Fixes #88.
This commit is contained in:
parent
5dea574825
commit
7723c52d7e
3 changed files with 5 additions and 1 deletions
|
@ -4044,6 +4044,8 @@ register_module([
|
|||
}
|
||||
}
|
||||
|
||||
sort($all_tags, SORT_NATURAL);
|
||||
|
||||
$content = "<h1>All tags</h1>
|
||||
<ul class='tag-list'>\n";
|
||||
foreach($all_tags as $tag)
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
"author": "Starbeamrainbowlabs",
|
||||
"description": "Adds a page that lists all the pages in the index along with their metadata.",
|
||||
"id": "page-list",
|
||||
"lastupdate": 1466010261,
|
||||
"lastupdate": 1471546961,
|
||||
"optional": false
|
||||
},
|
||||
{
|
||||
|
|
2
modules/page-list.php
Normal file → Executable file
2
modules/page-list.php
Normal file → Executable file
|
@ -69,6 +69,8 @@ register_module([
|
|||
}
|
||||
}
|
||||
|
||||
sort($all_tags, SORT_NATURAL);
|
||||
|
||||
$content = "<h1>All tags</h1>
|
||||
<ul class='tag-list'>\n";
|
||||
foreach($all_tags as $tag)
|
||||
|
|
Loading…
Reference in a new issue