MedicOneSystems / MedicOneSystems/livewire-datatables

How do I load Datatable with saved complex query on first laod?

Open
#452 0 comments 3 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

Hi,

We are able to successfully save the complex queries into the database using the methods available here #252.

Now, how do we force-load the rules from complex queries saved in the DB to the table on first load? Is there an easy way to do the same? maybe call some method in boot function?

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

Review the query-saving approach referenced in issue #252 and the table's boot or initial-load lifecycle. Determine whether saved database rules can be applied before the first render, and define completion as the table opening with the saved complex query active.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
backend, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.