Power-Components / livewire-powergrid

⚡ PowerGrid generates modern, powerful and easy-to-customize data tables using Laravel Livewire.
https://livewire-powergrid.com
MIT License
1.46k stars 215 forks source link

[Enhancement] Unified `beforeSearch()` and `build()` #1366

Closed dansysanalyst closed 6 months ago

dansysanalyst commented 7 months ago

Ongoing discussion on how to unify beforeSearch() while possibly preserving the build() method.

The main issue is to avoid duplicated code when searching on the header and on the filters.

Discussed here: https://github.com/Power-Components/livewire-powergrid/discussions/1354