aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-21 18:11:04 -0800
committerzotlabs <mike@macgirvin.com>2018-01-21 18:11:04 -0800
commitc994f26dbd8151bd1e937dbb13d3ae416740fdd9 (patch)
treef87d01d3879f874c0553449bf83f5febb68ab7d4 /Zotlabs
parent886a1a538112936a1e813ea6fa0346683fc74398 (diff)
downloadvolse-hubzilla-c994f26dbd8151bd1e937dbb13d3ae416740fdd9.tar.gz
volse-hubzilla-c994f26dbd8151bd1e937dbb13d3ae416740fdd9.tar.bz2
volse-hubzilla-c994f26dbd8151bd1e937dbb13d3ae416740fdd9.zip
preserve reverse date sort in mod_search after changes
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Search.php b/Zotlabs/Module/Search.php
index 504c0353f..4d35b59f3 100644
--- a/Zotlabs/Module/Search.php
+++ b/Zotlabs/Module/Search.php
@@ -190,7 +190,7 @@ class Search extends \Zotlabs\Web\Controller {
}
if($r) {
$str = ids_to_querystr($r,'item_id');
- $r = q("select *, id as item_id from item where id in ( " . $str . ") ");
+ $r = q("select *, id as item_id from item where id in ( " . $str . ") order by created desc ");
}
}
else {