aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-04-19 10:51:50 +0200
committerMario Vavti <mario@mariovavti.com>2017-04-19 10:51:50 +0200
commit09967598e15eb5d201bcc676ffb329b97e1b89b8 (patch)
tree49690c67e64d1fb9b568f7baf552c391a3a17ed0
parentd3feb93619b7e453d07710e0e32c3049eed85bcc (diff)
downloadvolse-hubzilla-09967598e15eb5d201bcc676ffb329b97e1b89b8.tar.gz
volse-hubzilla-09967598e15eb5d201bcc676ffb329b97e1b89b8.tar.bz2
volse-hubzilla-09967598e15eb5d201bcc676ffb329b97e1b89b8.zip
order wiki pages by creation date
-rw-r--r--Zotlabs/Lib/NativeWikiPage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/NativeWikiPage.php b/Zotlabs/Lib/NativeWikiPage.php
index 960fe014e..bd40367c9 100644
--- a/Zotlabs/Lib/NativeWikiPage.php
+++ b/Zotlabs/Lib/NativeWikiPage.php
@@ -21,7 +21,7 @@ class NativeWikiPage {
$sql_extra = item_permissions_sql($channel_id,$observer_hash);
$r = q("select * from item where resource_type = 'nwikipage' and resource_id = '%s' and uid = %d and item_deleted = 0
- $sql_extra group by mid",
+ $sql_extra group by mid order by created asc",
dbesc($resource_id),
intval($channel_id)
);