Replies: 2 comments 1 reply
-
|
Confirmed. The dialog carousel filtering in I see Changing those title filters to One small caveat: |
Beta Was this translation helpful? Give feedback.
-
|
I have shared a proposed modification for this specific path issue. Could you please check if this fix can be integrated into the main repository branch? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running the latest e107 Git repository on a LAMP server with Apache and PHP 8.4.
I noticed an issue with the Media Manager search (used via TinyMCE or the AJAX dialog). The search is strictly case-sensitive. For example, if I search for "orchidea" but the image title is "Orchidea", it returns "No results found". This is particularly problematic in multilingual setups.
I resolved the issue locally by modifying e107_admin/image.php. The problem is that the filtering logic uses strpos() instead of stripos().
For example, in imageTab2(), iconTab(), and similar functions, the code does:
if(strpos($v['title'], $option['search'])!==false)I simply changed it to:
if(stripos($v['title'], $option['search'])!==false)This makes the search case-insensitive and fixes the problem perfectly.
Could you please update the core to use stripos() for these search filters? It would be a great improvement for multilingual sites.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions