Sort orphan pages statistic in the right direction

This commit is contained in:
Starbeamrainbowlabs 2018-04-28 11:01:57 +01:00
parent de61612b18
commit 72825f8755
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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
}
]

View File

@ -101,7 +101,7 @@ register_module([
$orphaned_pages[] = $pagename;
}
rsort($orphaned_pages);
sort($orphaned_pages);
$result->value = $orphaned_pages;
$result->completed = true;