Details
-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
-
Empty show more show less
Description
There is a Function catfn.getContentByCategory(rootPage, "sports")] that gives all Content with Category "sports". This works as expeted.
But is there an easy way (a variation of this function) to give a List of categories? I then need all Content that matches one of the categories in the list (so it's an OR-Filtering). For example something like:
catfn.getContentByCategory(rootPage, ["sports", "hobby", "holiday"])
This should give all Contents, that have "sports" and/or "hobby" and/or "holiday" as Category.
Thanks in advance for any suggestions!
Best regards
Roland
Checklists
Acceptance criteria