Keyword

Κ2 utf search in the backend problem

  • doricsoft_gr
  • doricsoft_gr's Avatar Topic Author
  • Offline
  • New Member
More
7 years 6 months ago #158677 by doricsoft_gr
Κ2 utf search in the backend problem was created by doricsoft_gr
in file administrator/components/com_k2/models/items.php

line 39 there is:
$search = trim(preg_replace('/[^a-zA-Z0-9\s\-_]/', '', $search));

This, if I am not mistaken removes utf8.

The problem is that, admins in the backend cannot search utf string ;)

Am I mistaken?
Is there a plan to fix it?
(because I have patched my sites)

Thanks ;)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #158691 by Krikor Boghossian
Replied by Krikor Boghossian on topic Κ2 utf search in the backend problem
Yes, it has already been fixed in the DEV version, github.com/getk2/k2

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • doricsoft_gr
  • doricsoft_gr's Avatar Topic Author
  • Offline
  • New Member
More
7 years 6 months ago #158698 by doricsoft_gr
Replied by doricsoft_gr on topic Κ2 utf search in the backend problem
Thank you!

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #158703 by Krikor Boghossian
Replied by Krikor Boghossian on topic Κ2 utf search in the backend problem
No problem :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
7 years 1 week ago #161654 by Magnus
Replied by Magnus on topic Κ2 utf search in the backend problem
Has this problem been introduced again in 2.7.1? Backend search ignores (removes) Swedish characters.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 5 days ago #161691 by Krikor Boghossian
Replied by Krikor Boghossian on topic Κ2 utf search in the backend problem
Hello there,

Not to my knowledge,
Can you try the DEV version?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum