Update /service/{}/notifications to look for a "to" query string, if it exists call the search notifications_by_to_field method.

This commit is contained in:
Rebecca Law
2017-05-08 17:20:21 +01:00
parent d252dc8976
commit a564b9aeb0
3 changed files with 7 additions and 4 deletions

View File

@@ -492,6 +492,7 @@ class NotificationsFilterSchema(ma.Schema):
include_from_test_key = fields.Boolean(required=False)
older_than = fields.UUID(required=False)
format_for_csv = fields.String()
to = fields.String()
@pre_load
def handle_multidict(self, in_data):