MyBB Community Forums
[Pushed] ACP settings search option - hardcoded only for english language. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html)
+---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html)
+----- Forum: Pushed (https://community.mybb.com/forum-183.html)
+----- Thread: [Pushed] ACP settings search option - hardcoded only for english language. (/thread-219527.html)



ACP settings search option - hardcoded only for english language. - avril - 2018-09-01

myBB version :
1.8.18

Issue :
search  in ACPs configuration tab is "hardcoded" to always use english language, independently from language chosed by administrator. Therefore search does not find anything when administrator use different language than english.

Steps to reproduce :
1. Goto ACP
2. Change ACP language to anything but english.
3. Click "configuration" tab at top of page or go to admin/index.php?module=config-settings
4. Insert non english word in search textbox and click search.
5. Obviously nothing will be found.

Details :
admin\modules\config\settings.php at line 1147 perform search by query on DB data which is in english.
It should rather create an array of translated data and search this instead. (or similar ideas)


RE: ACP settings search option - hardcoded only for english language. - WallBB - 2018-09-01

I can confirm this as well.


RE: ACP settings search option - hardcoded only for english language. - Ben - 2018-09-01

Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/3430

Thanks for contributing to MyBB!

Regards,
The MyBB Group


RE: ACP settings search option - hardcoded only for english language. - avril - 2018-09-03

fixes #3430 ACP settings search option hardcoded only for english language #3438