[26] fix smart_filter

This commit is contained in:
meisnate12 2022-03-15 16:53:37 -04:00
parent 463e21082e
commit 60168b0204
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
1.16.1-develop25
1.16.1-develop26

View file

@ -935,7 +935,7 @@ def run_collection(config, library, metadata, requested_collections):
valid = True
if builder.build_collection and (
(builder.smart_url and len(library.get_filter_items(builder.smart_url)) < builder.minimum)
or (len(builder.added_items) + builder.beginning_count < builder.minimum)
or (not builder.smart_url and len(builder.added_items) + builder.beginning_count < builder.minimum)
):
logger.info("")
logger.info(f"Collection Minimum: {builder.minimum} not met for {mapping_name} Collection")