Details
-
Bug
-
Resolution: Fixed
-
High
-
1.13.5, 3.0.0-beta4, 2.5.9
-
None
-
[3.2] - Sprint 1
Description
When using the SortClause\ContentId with Solr search engine, results are sorted using dictonary order.
Query:
$query = new LocationQuery; $query->sortClauses = [new SortClause\ContentId()];
will return results in order:
ContentId: 1 eZ Platform ContentId: 10 Anonymous User ContentId: 11 Guest accounts ContentId: 12 Administrator users ContentId: 13 Editors ContentId: 14 Administrator User ContentId: 4 Users
Legacy SE with the same query returns:
ContentId: 1 eZ Platform ContentId: 4 Users ContentId: 10 Anonymous User ContentId: 11 Guest accounts ContentId: 12 Administrator users ContentId: 13 Editors ContentId: 14 Administrator User
Solr returns similar incorrect results when using SortClause\Location\Id.