- Posts: 102
COMMUNITY FORUM
Can't work search
- German Levi
- Topic Author
- Offline
- Premium Member
Less
More
8 years 3 months ago - 8 years 3 months ago #156837
by German Levi
Can't work search was created by German Levi
After upgrade K2 to 2.7.1 search not works!
Enter a search phrase, the page is reloaded but nothing is. More precisely, the page does not change.
Enter a search phrase, the page is reloaded but nothing is. More precisely, the page does not change.
Last edit: 8 years 3 months ago by German Levi.
Please Log in or Create an account to join the conversation.
- John
- Offline
- New Member
Less
More
- Posts: 14
8 years 3 months ago #156867
by John
Replied by John on topic Can't work search
I got this issue too. After upgrade to 2.7.1. K2 search in Backend (don't have a Frontend search) does not work for Greek words.
It will work for "test" but not for "τεστ".
It will work for "test" but not for "τεστ".
Please Log in or Create an account to join the conversation.
- German Levi
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 102
8 years 3 months ago #156884
by German Levi
Replied by German Levi on topic Can't work search
yes! don't work with RU words!
Please Log in or Create an account to join the conversation.
- Vladislav
- Offline
- New Member
Less
More
- Posts: 3
8 years 3 months ago #156903
by Vladislav
Replied by Vladislav on topic Can't work search
Replace 39 and 149-line atin file "site\administrator\components\com_k2\models\items.php"
$search = $db->escape(trim($search), true);
Please Log in or Create an account to join the conversation.
- German Levi
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 102
8 years 3 months ago #156906
by German Levi
Replied by German Levi on topic Can't work search
yes. this is work. but search key words don't save in search field after press button search!
Please Log in or Create an account to join the conversation.
- Vladislav
- Offline
- New Member
Less
More
- Posts: 3
8 years 3 months ago #156907
by Vladislav
Replied by Vladislav on topic Can't work search
Please Log in or Create an account to join the conversation.
- German Levi
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 102
8 years 3 months ago #156908
by German Levi
Replied by German Levi on topic Can't work search
thanks Vladislav. it's work! good day!
Please Log in or Create an account to join the conversation.
- Vladislav
- Offline
- New Member
Less
More
- Posts: 3
8 years 3 months ago #156909
by Vladislav
Replied by Vladislav on topic Can't work search
Fixed search in other sections:
Categories
Replace 31 and 153-line atin file "site\administrator\components\com_k2\models\categories.php"
Replace 36-line atin file "site\administrator\components\com_k2\views\categories\view.html.php"
insert codeafter 24-line
result
Tags
Replace 34 and 79-line atin file "site\administrator\components\com_k2\models\tags.php"
Replace 32-line atin file "site\administrator\components\com_k2\views\tags\view.html.php"
insert codeafter 23-line
result
Comments
Replace 34 and 78-line atin file "site\administrator\components\com_k2\models\comments.php"
Replace 34-line atin file "site\administrator\components\com_k2\views\comments\view.html.php"
insert codeafter 24-line
result
Users
Replace 36 and 142-line atin file "site\administrator\components\com_k2\models\users.php"
Replace 36-line atin file "site\administrator\components\com_k2\views\users\view.html.php"
Extra Fields
Replace 34 and 92-line atin file "site\administrator\components\com_k2\models\extrafields.php"
Replace 33-line atin file "site\administrator\components\com_k2\views\extrafields\view.html.php"
insert codeafter 24-line
result
Categories
Replace 31 and 153-line at
$search = $db->escape(trim($search), true);
Replace 36-line at
$search = $db->escape(trim($search), true);
insert code
$db = JFactory::getDBO();
$view = JRequest::getCmd('view');
result
$view = JRequest::getCmd('view');
$db = JFactory::getDBO();
Tags
Replace 34 and 79-line at
$search = $db->escape(trim($search), true);
Replace 32-line at
$search = $db->escape(trim($search), true);
insert code
$db = JFactory::getDBO();
$view = JRequest::getCmd('view');
result
$view = JRequest::getCmd('view');
$db = JFactory::getDBO();
Comments
Replace 34 and 78-line at
$search = $db->escape(trim($search), true);
Replace 34-line at
$search = $db->escape(trim($search), true);
insert code
$db = JFactory::getDBO();
$view = JRequest::getCmd('view');
result
$view = JRequest::getCmd('view');
$db = JFactory::getDBO();
Users
Replace 36 and 142-line at
$search = $db->escape(trim($search), true);
Replace 36-line at
$search = $db->escape(trim($search), true);
Extra Fields
Replace 34 and 92-line at
$search = $db->escape(trim($search), true);
Replace 33-line at
$search = $db->escape(trim($search), true);
insert code
$db = JFactory::getDBO();
$view = JRequest::getCmd('view');
result
$view = JRequest::getCmd('view');
$db = JFactory::getDBO();
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
8 years 3 months ago #156918
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Can't work search
Update to 2.7.2 Dev Build to fix this.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- German Levi
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 102
8 years 3 months ago #156919
by German Levi
Replied by German Levi on topic Can't work search
url for download?
Please Log in or Create an account to join the conversation.