- Added OrderBy (heavy WIP, will be recoded
This commit is contained in:
parent
aa07c728fe
commit
8b1c11676d
|
@ -97,9 +97,9 @@ 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);
|
||||||
|
|
Loading…
Reference in New Issue