- Posts: 4
COMMUNITY FORUM
Κ2 utf search in the backend problem
- doricsoft_gr
-
Topic Author
- Offline
- New Member
Less
More
8 years 7 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:
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 ;)
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 7 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
Please Log in or Create an account to join the conversation.
- doricsoft_gr
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
8 years 7 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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 7 months ago #158703
by Krikor Boghossian
Replied by Krikor Boghossian on topic Κ2 utf search in the backend problem
No problem :)
Please Log in or Create an account to join the conversation.
- Magnus
-
- Offline
- New Member
Less
More
- Posts: 3
8 years 3 weeks 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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 3 weeks 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?
Not to my knowledge,
Can you try the DEV version?
Please Log in or Create an account to join the conversation.