Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
4.1.3
-
None
Description
Hi there,
I was trying to sort by attribute the results from a call to eZSearchEngine::search() when i noticed that no result were being sorted, so i went look for the sorting code and i noticed that there were a condition in the line 1034 "if ( $dbName == 'mysql' )" that constructs a query for mysql, and an else for all other RDBMS. And i noticed that sorting is only applied to the mysql query.
For a working query with postgres i just added another condition for postgresql around line 1057:
(sorry for not submiting a patch)
(...)
} elseif($dbName == 'postgresql')
else
{
(...)
Attachments
Issue Links
- duplicates
-
EZP-11739 others dbs than mysql miss code to sort a search result.
- Closed