- Added OrderBy (heavy WIP, will be recoded
This commit is contained in:
1 parent
aa07c728fe
commit
8b1c11676d
1 file changed
+2
-2
@@ -97,9 +97,9 @@ trait SearchRequestFromRequestTrait
|
||||
elseif ($attribute instanceof SearchOrderBy) {
|
||||
if ($value !== null) {
|
||||
$this->$propertyName = $value;
|
||||
}
|
||||
|
||||
$this->parseAttributeOrderBy($attribute, $field, $propertyName);
|
||||
$this->parseAttributeOrderBy($attribute, $field, $propertyName);
|
||||
}
|
||||
}
|
||||
elseif ($attribute instanceof SearchGroupBy) {
|
||||
$this->parseAttributeGroupBy($attribute, $field, $propertyName);
|
||||
|
||||
Reference in new issue
Block a user