- Added OrderBy (heavy WIP, will be recoded

This commit is contained in:
Dave Mc Nicoll 2024-08-30 18:59:48 +00:00
parent aa07c728fe
commit 8b1c11676d
1 changed files with 2 additions and 2 deletions

View File

@ -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);