Description
When searching in a browser field for a nested module with $showOnlyParentItemsInBrowsers set to false, all instances of the module are returned instead of just the ones containing the search string
Steps to reproduce
- Create a nested module
- Set
$showOnlyParentItemsInBrowsers to false on the module controller
- Create a browser field referencing the nested module
- Attempt to search in the browser field modal
Expected result
The search results are restricted to just items containing the search term
Actual result
The search results show all items
Versions
Twill version: 3.5.3
Laravel version: 11.51
PHP version: 8.4
Database engine: Tested on SQLite & MySQL
Description
When searching in a browser field for a nested module with
$showOnlyParentItemsInBrowsersset to false, all instances of the module are returned instead of just the ones containing the search stringSteps to reproduce
$showOnlyParentItemsInBrowserstofalseon the module controllerExpected result
The search results are restricted to just items containing the search term
Actual result
The search results show all items
Versions
Twill version: 3.5.3
Laravel version: 11.51
PHP version: 8.4
Database engine: Tested on SQLite & MySQL