preserve reverse date sort in mod_search after changes

This commit is contained in:
zotlabs 2018-01-21 18:11:04 -08:00
parent 886a1a5381
commit c994f26dbd

View File

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