This commit is contained in:
Dave Mc Nicoll committed 2026-06-15 19:58:46 +00:00
1 parent 2d86adc3e1
commit 1e4a528d39
4 files changed
+15 -17

No files matched your search

@@ -169,6 +169,14 @@ trait SearchRequestFromRequestTrait
$this->parseAttributeGroupBy($attribute, $field, $propertyName);
break;
case $attribute instanceof SearchOrderBy:
if ($value !== null) {
$this->$propertyName = $value;
}
$this->parseAttributeOrderBy($attribute, $field, $propertyName);
break;
case $attribute instanceof SearchWhere:
case $attribute instanceof SearchLike:
case $attribute instanceof SearchManual:
@@ -198,14 +206,6 @@ trait SearchRequestFromRequestTrait
$this->parseAttributeMethod($attribute, $field, $propertyName);
break;
case $attribute instanceof SearchOrderBy:
if ($value !== null) {
$this->$propertyName = $value;
}
$this->parseAttributeOrderBy($attribute, $field, $propertyName);
break;
}
}
}
@@ -291,7 +291,6 @@ trait SearchRequestFromRequestTrait
if (! isset($this->$propertyName)) {
return;
}
switch ($attribute->method) {
case SearchMethodEnum::Like:
case SearchMethodEnum::LikeLeft: