diff --git a/src/searchers.py b/src/searchers.py index 9b5260f..d44a981 100644 --- a/src/searchers.py +++ b/src/searchers.py @@ -458,7 +458,9 @@ def _apply_filters( """Apply `sections`, `departments` and `date` filters to the search_terms dictionary.""" - if "TODOS" not in sections: + if "TODOS" in sections: + search_terms["pubname"] = ["DO1", "DO2", "DO3"] + else: search_terms["pubname"] = self._parse_sections(sections) if department: search_terms["artcategory"] = department