We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
resolveSearchParams()
1 parent 4c9027b commit eaa82c1Copy full SHA for eaa82c1
src/Mods/Collection/Filter/BaseFilter.php
@@ -104,14 +104,19 @@ public function getRawResults() : array
104
$results = $this
105
->getSearchIndex()
106
->getSearchInstance()
107
- ->search($this->applyFilters())
+ ->search($this->resolveSearchParams())
108
->toArray();
109
110
$this->results = $results['hits'];
111
112
return $this->results;
113
}
114
115
+ protected function resolveSearchParams() : SearchParameters
116
+ {
117
+ return $this->applyFilters();
118
+ }
119
+
120
abstract public function getSearchIndex() : IndexInterface;
121
122
private function applyFilters() : SearchParameters
0 commit comments