File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -663,9 +663,28 @@ protected function filterRecords()
663
663
}
664
664
665
665
$ this ->columnSearch ();
666
+ $ this ->searchPanesSearch ();
666
667
$ this ->filteredRecords = $ this ->isFilterApplied ? $ this ->filteredCount () : $ this ->totalRecords ;
667
668
}
668
669
670
+ /**
671
+ * Perform search on submitted search panes.
672
+ */
673
+ protected function searchPanesSearch ()
674
+ {
675
+ $ columns = $ this ->request ->get ('searchPanes ' );
676
+
677
+ foreach ($ columns as $ column => $ values ) {
678
+ if ($ this ->isBlacklisted ($ column ) && ! $ this ->hasFilterColumn ($ column )) {
679
+ continue ;
680
+ }
681
+
682
+ $ this ->getBaseQueryBuilder ()->whereIn ($ column , $ values );
683
+
684
+ $ this ->isFilterApplied = true ;
685
+ }
686
+ }
687
+
669
688
/**
670
689
* Perform global search.
671
690
*
You can’t perform that action at this time.
0 commit comments