- Posts: 130
- Thank you received: 1
Text filter not working
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.3.29
Hi,
1) I've configured my text search filter as per the attachment (note I actually wanted the filter to be set against product_name but upon save this gets overrided by array).
2) When I go any page where the filter is enabled say mephit.cz/cz/zbozi/category/165-rodinne and filter on any product name (such as Osadníci z Katanu) the product is not filtered.
Thanks,
Karol
Please Log in or Create an account to join the conversation.
it's a bug.
For quick fix in file administrator\components\com_hikashop\classes\filter.php on line 69
change
and let me know if it works.
Please Log in or Create an account to join the conversation.
It's fine after the fix.
Thanks,
Karol
Please Log in or Create an account to join the conversation.
For devs:
Calling JFilterInput::clean() with second parameter as empty string will hit default case in switch statement, iterate array and evaluate every value as string.
Please Log in or Create an account to join the conversation.
to this one:
Please Log in or Create an account to join the conversation.
Thank you for the feedback guys.
Patches are applied on our end and the install packages now contain them.
Please Log in or Create an account to join the conversation.
I think that's all for this method, other values are strings/integers.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The text filter on my end is returning no results.
pls see the config in the attached files.
Thank you
Please Log in or Create an account to join the conversation.
Please use another value for the "Search processing" option.
Please Log in or Create an account to join the conversation.
I tried each one of the options and neither made any change, I just got no results.
The main purpose of this text is to look for a specific product code.
any suggestions?
thank you.
Please Log in or Create an account to join the conversation.
The issue is with the menu settings, not the filter. The "sub element filter" option should be set to "all sub elements" and the "recently viewed" option should be deactivated.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.