Finding 'Category' with multiple entries
-
I have a category field in the Custom Table that is a set() and contains multiple values.
If I attempt to filter ‘category’ and there is more than one value in ‘category’ the script will return ‘No entries found.’ If I delete the other values from the category field, it works perfectly. For example, category contains: ‘Professional Liability’,’Commercial Liability’,’Product Liability’ etc. There are no spaces between the items as indicated in the documentation.
Here is the shortcode I am trying to use:
[wctable id=”4″ limit=”50″ filter=”
category
=’Professional Liability'” css=”My” nofilter=”1″]As long as ‘category’ only contains the value ‘Professional Liability’ it work, but if another item in the set() list is selected (e.g. another checkbox) it errors out with ‘no entries found.
Why doesn’t this work?
- The topic ‘Finding 'Category' with multiple entries’ is closed to new replies.