DataTables / DataTables/PHP

Server-Side SearchPanes Field on a leftjoin not filtering

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

Nobody has claimed this yet.

Dominant language
PHP
Stars
36
Forks
26
PR merge metrics
No merged PRs in 30d

Description

I was struggling to get the searchpanes to filter by a selected left joined table value.

On reviewing the live example in the below linked blog, it seems this might be a bug within the php library as it does not work there either:
https://datatables.net/blog/2020/ssp-with-editors-libraries

The searchpane correctly lists the unique values for a given leftjoin, but selecting one of the values from the searchpane has no affect, when the expected behaviour would be for the whole table to be filtered by rows that match the selected left join.

Contributor guide

No contributing guide indexed for this repository

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 with the linked server-side processing example and reproduce the SearchPanes selection against a left-joined value. Trace the PHP library's SearchPanes and left-join filtering path, then verify that selecting a value filters the full table to matching rows.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.