Order of modules in unified search results does not correspond to order in settings (Elasticsearch) #5291

Open
opened 2026-02-20 16:32:28 -05:00 by deekerman · 1 comment
Owner

Originally created by @ZizOsher on GitHub (Jan 19, 2025).

Issue

When using Elasticsearch, the order of the modules displayed in the unified search results does not correspond to the order of enabled modules defined in search settings. This issue does not occur when using Basic or Advanced search.

Possible Fix

No response

Steps to Reproduce the Issue

First of all make sure Elasticsearch is configured properly.
1. Go to Admin->'Search Settings' and note the order of the enabled modules
2. Make sure the search engine is set to Elasticsearch Engine
3. Use the unified search to search for something that will return more than one module type.
4. If the module order in the results doesn't corespond to the order in Search Settings, you've reproduces the bug. If not, change the order of enabled modules in Admin->'Search Settings' and perform the previous search again.
...

Context

No response

Version

7.14.2

What browser are you currently using?

Chrome

Browser Version

No response

Environment Information

PHP 8.2.27, Elasticsearch 7.17.27

Operating System and Version

Ubuntu 24.04.1 LTS

Originally created by @ZizOsher on GitHub (Jan 19, 2025). ### Issue When using Elasticsearch, the order of the modules displayed in the unified search results does not correspond to the order of enabled modules defined in search settings. This issue does not occur when using Basic or Advanced search. ### Possible Fix _No response_ ### Steps to Reproduce the Issue ```bash First of all make sure Elasticsearch is configured properly. 1. Go to Admin->'Search Settings' and note the order of the enabled modules 2. Make sure the search engine is set to Elasticsearch Engine 3. Use the unified search to search for something that will return more than one module type. 4. If the module order in the results doesn't corespond to the order in Search Settings, you've reproduces the bug. If not, change the order of enabled modules in Admin->'Search Settings' and perform the previous search again. ... ``` ### Context _No response_ ### Version 7.14.2 ### What browser are you currently using? Chrome ### Browser Version _No response_ ### Environment Information PHP 8.2.27, Elasticsearch 7.17.27 ### Operating System and Version Ubuntu 24.04.1 LTS
Author
Owner

@ZizOsher commented on GitHub (Jan 19, 2025):

Fixed by Pull request #10619

@ZizOsher commented on GitHub (Jan 19, 2025): Fixed by Pull request #10619
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#5291
No description provided.