After trying for some time with Algolia facet filter documentation - none of which worked for me. I managed to filter the algolia searches by using the visibility feature and function in FF. Note: I'm not a developer and learn by usually breaking things. The filter is based on a boolean value and then applied to the visibility option on a list view row. Hopefully, this saves someone some time.
Function
import 'dart:math' as math;
bool reportVisible(
bool reportActive,
bool reportDisabled,
) {
if (reportDisabled == true && reportActive == false ||
(reportDisabled == true && reportActive == true) ||
(reportDisabled == false && reportActive == false)) return false;
return true;
//return reportState;
}
[image.png]