Search of MultiEnum isn't possible #5348

Open
opened 2026-02-20 17:00:01 -05:00 by deekerman · 1 comment
Owner

Originally created by @jschoder-ryl on GitHub (Nov 5, 2025).

Issue

When creating a multienum field via studio it isn't possible to use search in the list view to find the relevant entries.

Possible Fix

The underlying problem is generateSearchWhere() in SearchForm2. It checks for isMultiSelect === true but not for `type === 'multienum'.

A workaround is to manually add isMultiSelect = true to the field configuration which will do for now, but definitely isn't a sustainable solution.

Steps to Reproduce the Issue

1. Create a MultiEnum custom field in studio
2. Add a search filter
3. Select values in some of the beans
4. Try to use advanced search on any field in the ListView
5. The result will always be empty, independent of whether you tried to filter by multiple values

Context

No response

Version

7.14.6

What browser are you currently using?

Firefox

Browser Version

No response

Environment Information

MySQL, PHP 8.2.29

Operating System and Version

Ubuntu

Originally created by @jschoder-ryl on GitHub (Nov 5, 2025). ### Issue When creating a multienum field via studio it isn't possible to use search in the list view to find the relevant entries. ### Possible Fix The underlying problem is `generateSearchWhere()` in `SearchForm2`. It checks for `isMultiSelect === true` but not for `type === 'multienum'. A workaround is to manually add `isMultiSelect = true` to the field configuration which will do for now, but definitely isn't a sustainable solution. ### Steps to Reproduce the Issue ```bash 1. Create a MultiEnum custom field in studio 2. Add a search filter 3. Select values in some of the beans 4. Try to use advanced search on any field in the ListView 5. The result will always be empty, independent of whether you tried to filter by multiple values ``` ### Context _No response_ ### Version 7.14.6 ### What browser are you currently using? Firefox ### Browser Version _No response_ ### Environment Information MySQL, PHP 8.2.29 ### Operating System and Version Ubuntu
Author
Owner

@johnM2401 commented on GitHub (Nov 7, 2025):

Hey!
I've given this a try in the latest release on PHP8.2 and Mysql8
However, I've not been able to replicate as of yet

See gif:

Image

I'm able to select, save and filter on a Custom Multiselect's values with no issues

Have I perhaps missed something?

Do you see any errors in your suitecrm.log or php error log that might seem relevant?

Thanks again!

@johnM2401 commented on GitHub (Nov 7, 2025): Hey! I've given this a try in the latest release on PHP8.2 and Mysql8 However, I've not been able to replicate as of yet See gif: ![Image](https://github.com/user-attachments/assets/52e966e2-dd8e-4cf6-9db3-a6ff9da40f3a) I'm able to select, save and filter on a Custom Multiselect's values with no issues Have I perhaps missed something? Do you see any errors in your suitecrm.log or php error log that might seem relevant? Thanks again!
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#5348
No description provided.