Naturally sort all tags list alphabetically. Fixes #88.

This commit is contained in:
Starbeamrainbowlabs 2016-08-18 19:05:16 +00:00
parent 5dea574825
commit 7723c52d7e
3 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -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
View 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)