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.
2 parents 6a44871 + d4301b8 commit 1635e5bCopy full SHA for 1635e5b
src/MapFilter.php
@@ -21,7 +21,10 @@ public function wrap(ModifiesQueries $filter)
21
public function modifyQuery($query, SearchTerm $search)
22
{
23
if (strpos($this->column, '.') !== false) {
24
- [$relationship, $relCol] = explode(".", $this->column);
+ $parts = explode(".", $this->column);
25
+ $relCol = array_pop($parts);
26
+ $relationship = implode(".", $parts);
27
+
28
$relSearch = new SearchTerm(
29
$search->property(),
30
$search->operator(),
0 commit comments