Can we add two or more filters in facetOption

Can we add two or more filters in facetOption? if not, is there any workaround solution?

a!facet(
name : "Status",
options : {
a!facetOption(
id : 1,
name : "Active",
          
filter : {
a!queryFilter(
field:"StartDate",
operator:"<=",
value: today()
),
a!queryFilter(
field:"EndDate",
operator:">=",
value: today()
)
}
)
},
defaultOption: "Active"
)

OriginalPostID-240150

  Discussion posts and replies are publicly visible

Parents
  • @ramakg If it's two different fields and the operator between them is 'AND' why would you need a view? As your requirement is to add "Default Filters", you may straight away proceed with adding the two default filters, with one field per default filter, operators as >=/>= and values as today(). Let me know if you have any specific requirement so that we can see what fits the best in your case.
Reply
  • @ramakg If it's two different fields and the operator between them is 'AND' why would you need a view? As your requirement is to add "Default Filters", you may straight away proceed with adding the two default filters, with one field per default filter, operators as >=/>= and values as today(). Let me know if you have any specific requirement so that we can see what fits the best in your case.
Children
No Data