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
Hey guys I'm currently hardcoding an array to the appends method in the QueryBuilder already using paginate, at the moment I'm having to pass the 4 variables to the paginate function manually to do pagination, problem is I'm not able to sort in any way (I haven't tried filtering yet), am I doing something wrong?
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
-
Hey guys I'm currently hardcoding an array to the appends method in the QueryBuilder already using paginate, at the moment I'm having to pass the 4 variables to the paginate function manually to do pagination, problem is I'm not able to sort in any way (I haven't tried filtering yet), am I doing something wrong?
Below there's a snippet of the array
Would appreciate any answers, it's probably stupid and it wasn't supposed to work like that in the first place or something but I'd like to know.
Kind Regards,
Luis Bizarro
Edit:
The error I get is
Illegal offset type
coming fromlaravel\framework\src\Illuminate\Pagination\AbstractPaginator.php
on line243
Beta Was this translation helpful? Give feedback.
All reactions