This is an automated email from the ASF dual-hosted git repository. mmiklavcic pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/metron.git
The following commit(s) were added to refs/heads/master by this push: new 65681a0 METRON-2129 [UI] Clearing the search bar resets alert filter range to 'All Time' (ruffle1986 via mmiklavc) closes apache/metron#1420 65681a0 is described below commit 65681a0a0888576725663347e52deafe8ca94a1a Author: ruffle1986 <ftamas.m...@gmail.com> AuthorDate: Tue Jul 23 13:53:18 2019 -0600 METRON-2129 [UI] Clearing the search bar resets alert filter range to 'All Time' (ruffle1986 via mmiklavc) closes apache/metron#1420 --- .../metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts b/metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts index 47e777f..4cf1886 100644 --- a/metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts +++ b/metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts @@ -221,7 +221,6 @@ export class AlertsListComponent implements OnInit, OnDestroy { onClear() { this.timeStampFilterPresent = false; this.queryBuilder.clearSearch(); - this.selectedTimeRange = new Filter(TIMESTAMP_FIELD_NAME, ALL_TIME, false); this.search(); }