|
|
@ -1600,7 +1600,7 @@ def build_history( |
|
|
|
# Filter out any items that don't match the search term or category |
|
|
|
if postproc_queue: |
|
|
|
# It would be more efficient to iterate only once, but we accept the penalty for code clarity |
|
|
|
if isinstance(search, list): |
|
|
|
if isinstance(categories, list): |
|
|
|
postproc_queue = [nzo for nzo in postproc_queue if nzo.cat in categories] |
|
|
|
|
|
|
|
if isinstance(search, str): |
|
|
|