Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

filter cyrillic text

edited April 2017 in Feature Requests
Hi,

there is a very useful thing in models - filter:
public $filters = array ('name'); // filters to apply to when searching for items

But unfortunately this filter does not work with cyrillic text, is there a way to fix this?

FUEL_VERSION: 1.3

Comments

  • edited 3:42PM
    The logic for that is mostly in the Base_module_model::_list_items_query() method... so you would need to probably debug the issue further in there.
  • edited 3:42PM
    Thanks for a hint,

    it looks like the problem is in this method аnd this is due to the encoding, also possible that this problem is related to server settings...

    Eventually, after some unsuccessful attempts to change encoding through PHP, I've discard all changes in this method and at the next day it began to work as expected.

    I understand, it sounds strange, but now the filter works with Cyrillic text.
Sign In or Register to comment.