You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I encounter the Unstable Pagination problem.
I want to solve it by adding the id to sortable like this ->sortable(['updated_at', 'id']). But what happened was that the actual order by comes like this order by id desc, updated_at desc.
Why? I checked the code and I found this code in applySort method:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I encounter the
Unstable Pagination
problem.I want to solve it by adding the
id
to sortable like this->sortable(['updated_at', 'id'])
. But what happened was that the actualorder by
comes like thisorder by id desc, updated_at desc
.Why? I checked the code and I found this code in
applySort
method:I want to know why we need reverse sorting columns. This is very unconventional.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions