This commit is contained in:
2026-01-23 19:21:06 -08:00
parent b79e3b309b
commit 666f4e3181
4 changed files with 37 additions and 1 deletions

View File

@@ -845,6 +845,19 @@ class HydrusNetwork(Store):
scan_limit=scan_limit_override,
needles=pattern_hints if pattern_hints else None,
)
elif namespace == "system":
normalized_system_predicate = pattern.strip()
if normalized_system_predicate == "has url":
try:
fetch_limit = int(limit) if limit else 100
except Exception:
fetch_limit = 100
metadata_list = _iter_url_filtered_metadata(
None,
want_any=not bool(pattern_hints),
fetch_limit=fetch_limit,
needles=pattern_hints if pattern_hints else None,
)
# Parse the query into tags
# "*" means "match all" - use system:everything tag in Hydrus