preserve reverse date sort in mod_search after changes
This commit is contained in:
parent
886a1a5381
commit
c994f26dbd
@ -190,7 +190,7 @@ class Search extends \Zotlabs\Web\Controller {
|
|||||||
}
|
}
|
||||||
if($r) {
|
if($r) {
|
||||||
$str = ids_to_querystr($r,'item_id');
|
$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 {
|
else {
|
||||||
|
Reference in New Issue
Block a user