allow filtering snapshots by timestamp in list, update, and remove cmds

This commit is contained in:
Nick Sweeting 2021-02-15 20:48:35 -05:00
parent 0c9db1c554
commit 33d180afe7

View file

@ -356,6 +356,7 @@ LINK_FILTERS = {
'regex': lambda pattern: Q(url__iregex=pattern),
'domain': lambda pattern: Q(url__istartswith=f"http://{pattern}") | Q(url__istartswith=f"https://{pattern}") | Q(url__istartswith=f"ftp://{pattern}"),
'tag': lambda pattern: Q(tags__name=pattern),
'timestamp': lambda pattern: Q(timestamp=pattern),
}
@enforce_types