Hi,
I dedicated some time to this today and found that the solution proposed isn't exactly equivalent to the current functionality. As the global search is right now, it ignores case, in other words it is a case insensitive search, but with the change proposed it is converted into a case sensitive search so it doesn't return the same results.
I made a minor change to make the functionality equivalent but it makes the search work slower and since in the majority of installs it really isn't necessary I added a global variable so it can be activated only if needed.
https://github.com/tsolucio/corebos/comm...8c836f4b2a
Thank you very much for sharing :-)
Hi,
I believe to need another parameter. One that allow to use if faster without the LOWER function.
As I understand it , every Corebos using MySQL >= 5.5.3 will need you use the BINARY function, in order to search non Latin characters.
Addady
I would prefer to keep the functionality equivalent. I mean to keep both search types case insensitive, because that is the way it has always been, but if you can send me a PR I will consider it.