MedicOneSystems / MedicOneSystems/livewire-datatables

Postgres error with callback.

Open
#393 1 comment 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

I have read two other people with same problem and no fix yet. Is there a fix to this? I tried changing that one line that the person suggested and that did not fix the problem.

This was the suggestion and it did not make any difference for me...

https://github.com/BootVentures/livewire-datatables/commit/b4f385dae743e719639f6424825eb3c08a3dbae0

The code I am using to test it is EXACTLY what is posted in the Advanced github example. Just changed the column names. Callback works fine with just 1 column but not two.

Can I get some help here please this is the error...

Syntax error: 7 ERROR: syntax error at or near "`"

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 with the Advanced GitHub example and trace the callback behavior when two columns are configured. Compare the current behavior with commit b4f385dae743e719639f6424825eb3c08a3dbae0, then verify that the generated query runs on PostgreSQL without the reported backtick syntax error.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php, postgresql
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.