- Merged
This commit is contained in:
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:
|
||||
|
||||
Reference in new issue
Block a user