Closed timgws closed 9 years ago
I have added a commit here to change doInternalOrder to remove the workingCollection->reverse() call when sorting by descending order.
Now, the order will be reversed using the sortByDesc function in place of the sortBy call that would normally be performed.
Seems like a new error is occurring on line 246 $direction = $this->orderDirection[0];
Example output from $this->orderDirection
is:
Array
(
[8] => asc
)
Maybe we can use: $direction = array_values($this->orderDirection)[0];
@marsd, please try now!
This should solve the problems that we have been seeing with the CollectionEngine!
As per #302, it looks like this solved the problem.