mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Convert SearchFields to GovukSearchFields
Changes those fields in the following forms: - SearchByNameForm - SearchUsersByEmailForm - SearchUsersForm - SearchNotificationsForm Includes changes to templates that use this form and associated tests.
This commit is contained in:
@@ -164,10 +164,9 @@ def view_notifications(service_id, message_type=None):
|
||||
message_type=message_type,
|
||||
status=request.args.get('status') or 'sending,delivered,failed',
|
||||
page=request.args.get('page', 1),
|
||||
to=request.form.get('to', ''),
|
||||
search_form=SearchNotificationsForm(
|
||||
message_type=message_type,
|
||||
to=request.form.get('to', ''),
|
||||
to=request.form.get('to'),
|
||||
),
|
||||
things_you_can_search_by={
|
||||
'email': ['email address'],
|
||||
|
||||
Reference in New Issue
Block a user