From a5934649d4fdf839a46008ee202f2a95c43112e4 Mon Sep 17 00:00:00 2001 From: "Brian J. Geiger" Date: Wed, 6 Sep 2023 12:55:56 -0400 Subject: [PATCH] Fix broken meetings searches (#1991) ## Purpose A recent deprecation fix caused meetings searches to break. This should fix that. ## Summary of Changes 1. Add `target` string to `on` actions --- .../detail/-components/meeting-submissions-list/template.hbs | 2 +- app/meetings/index/-components/meetings-list/template.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/meetings/detail/-components/meeting-submissions-list/template.hbs b/app/meetings/detail/-components/meeting-submissions-list/template.hbs index 3e2f9fd2ae..df102cd691 100644 --- a/app/meetings/detail/-components/meeting-submissions-list/template.hbs +++ b/app/meetings/detail/-components/meeting-submissions-list/template.hbs @@ -4,7 +4,7 @@ placeholder={{t 'meetings.index.meetings-list.search'}} aria-label={{t 'meetings.index.meetings-list.search'}} @type='text' - {{on 'keyup' (perform this.searchSubmissions)}} + {{on 'keyup' (perform this.searchSubmissions value='target.value')}} /> diff --git a/app/meetings/index/-components/meetings-list/template.hbs b/app/meetings/index/-components/meetings-list/template.hbs index b79fe95efe..830a70949c 100644 --- a/app/meetings/index/-components/meetings-list/template.hbs +++ b/app/meetings/index/-components/meetings-list/template.hbs @@ -9,7 +9,7 @@ aria-label={{t 'meetings.index.meetings-list.search'}} placeholder={{t 'meetings.index.meetings-list.search'}} @type='text' - {{on 'keyup' (perform this.searchMeetings)}} + {{on 'keyup' (perform this.searchMeetings value='target.value')}} />