hi Blue-Coder,
many thanks for great extension. I have decided to migrate from another Component to JFilter, due to the fact your compoent uses the Joomla build-in Custom Fields instead of creating from scratch a another set of fields+values.
I am using Joomla custom field to define many fields of multiple-value type (checkboxes) to very fine granually describe properties of each article (in my case those are cooking recipes).
I have faced at the begining a serious limitation for me:
in the JFilter module, when I select multiple values from one custom field, all the values are put to the query using logical OR condition. For example I have a custom field "diet" with values: gluten-free, eggs-free, milk-free etc. When the user select multiple values I would expect to have an AND condition, so it would select the recipes having all those properties set but not the sum of all recipes having at least one of those values.
Actually more generic, I am migrating now from the Joomla extensions which allows the administrator to preciselly define for each multi-value-field whether is should be an OR or AND conditions when filtering using muliple seletec values within one field.
Actually I am wondering that nobody till now requestes this feature from you, as in my opinion in most of the cases the filtering of content (does not matter whether it is filtering using multiple fields or mutiple values in one field) is always logically for limiting the result and not for increasing the result when selecting more criterias.
Summary:
the logical conditions merging different fields should be AND - and this component does this - OK
the logical conditions merging multiple selected values within one field - should be either AND or at least customizable by the admin - either globally or even much better - to have an option to customise this (OR or AND) per each custom field
Do you think you can extend the component like this ?
many thans in advance for your answer
Marc
Custom Fields
Joomla! version (x.y.z) | 4.3.2 |
Extension Version (x.y.z) | 1.9.1 |