also sort by id to not make mysql change the queryplan if offset is > 0 after recent index changes
This commit is contained in:
parent
a1f9d40d08
commit
80ce2def46
@ -255,7 +255,7 @@ class Channel extends \Zotlabs\Web\Controller {
|
||||
AND (abook.abook_blocked = 0 or abook.abook_flags is null)
|
||||
AND item.item_wall = 1
|
||||
$sql_extra $sql_extra2
|
||||
ORDER BY created DESC $pager_sql ",
|
||||
ORDER BY created DESC, id $pager_sql ",
|
||||
intval(\App::$profile['profile_uid'])
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user