-
AuthorPosts
-
December 19, 2013 at 7:40 am #193091
Hi,
I’m using JA K2 filter for a new website and so far its been working great. However, I have 2 problems:
Problem 1: Multi-select field search returns results of any match instead of matching all selected options. For example, if I have the following data:
Entry 1: David, USA
Entry 2: John, UK
Entry 3: Harry, UK, USAAnd a multi-select extra field like this:
Countries:
* USA
* UK
* FranceIf I select both USA and UK for the filter search, I get David, John, and Harry. I want to it to match exactly what I search. So it should return only Harry. I’m guessing there is a place where I can change the code from matching ‘any’ in multi-select fields to matching ‘all’ but I’m not sure where that is.
Problem 2: I have a “Radio buttons” extra fields with the following options:
Language proficiency:
* Weak
* Fair
* GoodWhen I filter, the results match only the exact one. I would like to be able to search for ‘Fair’ and get all results of ‘Fair’ or better. In this case, it would be ‘Fair’ and ‘Good’
Any ideas on how I can solve these problems would be greatly appreciated.
Luna Garden Moderator
Luna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
December 24, 2013 at 4:28 am #516377Hello Myra,
Sorry for the late response.
I have discussed with the developers about your problems, here is the answer:
<blockquote>Problem 1: Multi-select field search returns results of any match instead of matching all selected options.</blockquote>
This issue will be added as new feature for next version, here is the link on project manager for you to follow its status: http://pm.joomlart.com/browse/JAK2FILTER-138. It’s not easy to change the code from matching any to all, we need time to research for the best solution for this case.<blockquote>Problem 2: I have a “Radio buttons” extra fields, When I filter, the results match only the exact one. I would like to be able to search for ‘Fair’ and get all results of ‘Fair’ or better. In this case, it would be ‘Fair’ and ‘Good'</blockquote>
It’s impossible if option is text. If option is number, then you can change type to range slider,For example, you set 1 symbolize for weak,
2 fair,
3 good
Then you can filter from 1 – 2 or 2 – 3, like that. -
AuthorPosts
This topic contains 2 replies, has 2 voices, and was last updated by Luna Garden 11 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
