Open romatexdev opened 10 months ago
hello @romatexdev please provide me with more details and the error message that you are getting.
Hi @romatexdev
I don't know how you're doing it, but I used paginate() with no problems just like this: Model::filter()->paginate()
I don't use sorting on my project, but it works too
Hi! Thank you for this wonderful package! It made it easier to create filters!!! But there are points that are not specified in the documentation.
How do I use a filter inside my livewire component with the condition $and? I have an array of identifiers by which to filter with the condition that they are all present in the output. With the use of $eq, $contains, everything is clear, but here I can't figure out how to use it. I'll clarify. I don't use the query string, everything happens inside the livewire component.
How to apply pagination after filtering and sorting? If I now apply ->paginate(), then it causes an error.