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
  • Hi ramakg, as far I know when we want to filter data on different fields, we should not pass array of filters in filter pararmeter of faceOption function as it will take only first filter and ignoring second filter. We can go with queryLogicalExpression function,if we need to filter data based on multiple filter conditions.Let see what other practitioner will say....
Reply
  • Hi ramakg, as far I know when we want to filter data on different fields, we should not pass array of filters in filter pararmeter of faceOption function as it will take only first filter and ignoring second filter. We can go with queryLogicalExpression function,if we need to filter data based on multiple filter conditions.Let see what other practitioner will say....
Children
No Data