Skip to content

Commit

Permalink
updated filtering (#1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
martynaskre committed Jan 8, 2024
1 parent 5be92e3 commit 01a6c03
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/PowerGridComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,13 @@ public function fillData(): mixed
->setColumns($this->columns)
->setSearch($this->search)
->setRelationSearch($this->relationSearch)
->filterContains();
})
->where(function (Eloquent\Builder $query) {
Model::query($query)
->setInputRangeConfig($this->inputRangeConfig)
->setColumns($this->columns)
->setFilters($this->filters)
->filterContains()
->filter();
});

Expand Down

0 comments on commit 01a6c03

Please sign in to comment.