From f7000cd6cee35434eca4d3eedc5ddb2ae853873e Mon Sep 17 00:00:00 2001
From: Sukanya Pandey <sukapan1@in.ibm.com>
Date: Thu, 26 Aug 2021 18:34:49 +0530
Subject: Resolve bug for pagination not being updated

- Bug: When a user filters a page, the pagination does not change.
- Solution: When a user filters a page, the pagination will be updated  based on
  the filtered results.
- This patchset will also add pagination in dumps page.

Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: I189d27b5489c42ac85f25c0a1a4cdb7cf7eae5c2
---
 src/views/SecurityAndAccess/Sessions/Sessions.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/views/SecurityAndAccess/Sessions/Sessions.vue')

diff --git a/src/views/SecurityAndAccess/Sessions/Sessions.vue b/src/views/SecurityAndAccess/Sessions/Sessions.vue
index bd4c06a9..9782e7f2 100644
--- a/src/views/SecurityAndAccess/Sessions/Sessions.vue
+++ b/src/views/SecurityAndAccess/Sessions/Sessions.vue
@@ -104,7 +104,7 @@
           first-number
           last-number
           :per-page="perPage"
-          :total-rows="getTotalRowCount(allConnections.length)"
+          :total-rows="getTotalRowCount(filteredRows)"
           aria-controls="table-session-logs"
         />
       </b-col>
-- 
cgit v1.2.3

