code: def add_filter_by_review_state(self, query, out_params):
          
          self.add_filter_by_wf_state(query=query, out_params=out_params,
                                      wf_id="bika_analysis_workflow",
                                      index="review_state",
                                      title=_("Status"))
docs: Applies the filter by review_state to the search query