Skip to content

Commit 02aac3d

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 7477b4d commit 02aac3d

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
@@ -760,6 +760,9 @@ def patch_list(
760760
if archived is not None:
761761
filters['archived'] = archived
762762

763+
if submitter is not None:
764+
filters['submitter'] = submitter
765+
763766
if delegate is not None:
764767
filters['delegate'] = delegate
765768

0 commit comments

Comments
 (0)