From 63a4ffa7ec68a840a8b41b2f83afa6afcc13a393 Mon Sep 17 00:00:00 2001 From: Nabil Adouani Date: Wed, 21 Oct 2020 11:37:19 +0200 Subject: [PATCH] #1579 WIP: Use the filtered similarities to build the pagination component --- .../app/scripts/components/alert/AlertSimilarCaseListCmp.js | 1 + .../views/components/alert/similar-case-list.component.html | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/app/scripts/components/alert/AlertSimilarCaseListCmp.js b/frontend/app/scripts/components/alert/AlertSimilarCaseListCmp.js index 12805b6df4..44a501fea4 100644 --- a/frontend/app/scripts/components/alert/AlertSimilarCaseListCmp.js +++ b/frontend/app/scripts/components/alert/AlertSimilarCaseListCmp.js @@ -20,6 +20,7 @@ self.sortField = '-sCreatedAt'; self.matches = []; + self.filteredCases = []; self.pagination = { pageSize: 10, diff --git a/frontend/app/views/components/alert/similar-case-list.component.html b/frontend/app/views/components/alert/similar-case-list.component.html index 0bad641daf..013d8d73b8 100644 --- a/frontend/app/views/components/alert/similar-case-list.component.html +++ b/frontend/app/views/components/alert/similar-case-list.component.html @@ -21,9 +21,9 @@
-
+
    @@ -103,7 +103,7 @@
    -
    +