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