Skip to content

Commit 5be4d45

Browse files
committed
api/rest: Add support for the submitter filter
Similar to commit 70f96f9 ("support the delegate filter for REST API") which added the delegate filter this implements an exact match only and not (as promised by `pwclient list -h`) as substring match. But for the same reason as for the delegate filter this is better than ignoring a passed submitter.
1 parent 941593d commit 5be4d45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pwclient/api.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,9 @@ def patch_list(
764764
if archived is not None:
765765
filters['archived'] = archived
766766

767+
if submitter is not None:
768+
filters['submitter'] = submitter
769+
767770
if delegate is not None:
768771
filters['delegate'] = delegate
769772

0 commit comments

Comments
 (0)