From 72825f87552618c6a7bd99507d3b588652eea1f6 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 28 Apr 2018 11:01:57 +0100 Subject: [PATCH] Sort orphan pages statistic in the right direction --- build/index.php | 4 ++-- module_index.json | 2 +- modules/parser-parsedown.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/index.php b/build/index.php index 4edea4b..e542829 100644 --- a/build/index.php +++ b/build/index.php @@ -387,7 +387,7 @@ if($settings->css === "auto") ///////////////////////////////////////////////////////////////////////////// /** The version of Pepperminty Wiki currently running. */ $version = "v0.16-dev"; -$commit = "75d6fbaa5657495c892ba6c489149013fb57a9ed"; +$commit = "de61612b18b88b9a2e91d1bc7b85438221d88762"; /// Environment /// /** Holds information about the current request environment. */ $env = new stdClass(); @@ -8061,7 +8061,7 @@ register_module([ $orphaned_pages[] = $pagename; } - rsort($orphaned_pages); + sort($orphaned_pages); $result->value = $orphaned_pages; $result->completed = true; diff --git a/module_index.json b/module_index.json index e784ded..bbc6a2d 100755 --- a/module_index.json +++ b/module_index.json @@ -266,7 +266,7 @@ "author": "Emanuil Rusev & Starbeamrainbowlabs", "description": "An upgraded (now default!) parser based on Emanuil Rusev's Parsedown Extra PHP library (https:\/\/github.com\/erusev\/parsedown-extra), which is licensed MIT. Please be careful, as this module adds some weight to your installation, and also *requires* write access to the disk on first load.", "id": "parser-parsedown", - "lastupdate": 1524909375, + "lastupdate": 1524909661, "optional": false } ] \ No newline at end of file diff --git a/modules/parser-parsedown.php b/modules/parser-parsedown.php index c9244e6..a954ec1 100644 --- a/modules/parser-parsedown.php +++ b/modules/parser-parsedown.php @@ -101,7 +101,7 @@ register_module([ $orphaned_pages[] = $pagename; } - rsort($orphaned_pages); + sort($orphaned_pages); $result->value = $orphaned_pages; $result->completed = true;