Hi everyone,
We are using a renderItemList with filtering by keywords from product fields or custom fields. All the fields (less the Products) are Editable lists. See below:
string FaqsFilter = "Format contains '"+ProductFormat+"' or RegulatoryStatus contains '"+ProductRegulatoryStatus+"' or Application contains '"+ProductAppAbrv+"' or ProductName contains '"+ProductName+"' or Product contains 'p_"+ ProductID +"' or Clone contains '"ProductClone+"'"; @RenderItemList(new { ItemType = "FAQs", ListSourceType = "Page", ListSourcePage = 6169, ItemFieldsList = "*", ListTemplate = "ItemPublisher/List/productRelatedFaqs.cshtml", ListPageSize = 500, IncludeParagraphItems = false, Filter = FaqsFilter })
The problem with this approach is if we have a product that have p_15 will contain in all p_15*** products or Format field containing "A" will contains in all A*. If we change the contains to equals it doens't work. The editable list in database is comma separated so if we do contains "p_15," it will exclude last products. What is the best approach to accomplish filtering with editable lists?
Best regards,
António Ramos