MedicOneSystems / MedicOneSystems/livewire-datatables

[Bug] It is currently impossible to paginate with a complex rule active.

Open
#534 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. Go to https://livewire-datatables.com/complex
  2. Add the following complex rule (below the table) Name => contains => a (Basically we want all entries that have an "a" in their name)
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.