Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
3.1.0-rc1
-
None
Description
SortClause\Location\Id SortClause uses alphabetical order, but should use numerical instead.
Steps to reproduce:
1. Execute a Query with ContentID SortClause enabled:
$query->sortClauses = [new SortClause\Location\Id()];
Expected:
Content Items are sorted as follows:
1. LocationId = 1
2. LocationId = 2
3. LocationId = 3
...
Actual:
Content Items are sorted as follows:
1. LocationId = 100
2. LocationId = 1000
3. LocationId = 1001
4. LocationId = 1002
5. LocationId = 1003
...