• Resolved karada

    (@karada)


    The text field .rcno-isotope-grid-search doesn’t search non-latin string. If I am trying to find a post like “22 июня 1943” using “июня”, the request is doesn’t work.
    In the file rcno-reviews-public.js:

    var $search = $('.rcno-isotope-grid-search').keyup(debounce(function() { 
          qsRegex = new RegExp($search.val(), 'gi');

    I tried to change ‘gi’ to ‘^[а-яА-ЯёЁ0-9\s]+$’, but it doesn’t work too.
    Can you offer temporary solution this problem?

    • This topic was modified 4 years, 9 months ago by karada. Reason: https://acb.alchevsk.su/3405-2/
Viewing 1 replies (of 1 total)
  • Plugin Author Kemory Grubb

    (@w33zy)

    Hello @karada ,

    I have just looked at your site and this issue has to do with how WordPress sanitizes non-Latin characters for use in some context.

    So where you have 22 ИЮНЯ 1941-ГО is converted to 22-%d0%b8%d1%8e%d0%bd%d1%8f-1941-%d0%b3%d0%be when used by my plugin. So because this is how WordPress works I do not have a work around right now.

Viewing 1 replies (of 1 total)
  • The topic ‘search field does not search non-latin string’ is closed to new replies.