MedicOneSystems / MedicOneSystems/livewire-datatables
[Bug] It is currently impossible to paginate with a complex rule active.
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.2k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
It is currently impossible to paginate with a complex rule active.
Steps to reproduce:
- Go to https://livewire-datatables.com/complex
- Add the following complex rule (below the table) Name => contains => a (Basically we want all entries that have an "a" in their name)
- Try to paginate and you will see it will not work
If you type an "a" into the fields above it will still work but not as a complex query.
Thank you for your good work
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the complex-rule demo at livewire-datatables.com/complex and reproduce the failure by adding Name => contains => a before paginating. Trace the complex-rule pagination path from that entry point. Done means pagination works with the complex rule while the existing direct field search continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100