From 16f9dbd91da700a4204bde140f88209866a8877f Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 27 Oct 2022 11:59:53 -0400 Subject: [PATCH] SearchKit - Show result count at top of table Fixes dev/core#3944 Shows result count at the top of the table, not just in the pager. Only shows the count if the search button or actions are enabled. --- .../resultsTable/crmSearchAdminResultsTable.html | 1 + ext/search_kit/ang/crmSearchDisplay/Pager.html | 8 +------- ext/search_kit/ang/crmSearchDisplay/ResultCount.html | 6 ++++++ .../ang/crmSearchDisplayTable/crmSearchDisplayTable.html | 1 + 4 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 ext/search_kit/ang/crmSearchDisplay/ResultCount.html diff --git a/ext/search_kit/ang/crmSearchAdmin/resultsTable/crmSearchAdminResultsTable.html b/ext/search_kit/ang/crmSearchAdmin/resultsTable/crmSearchAdminResultsTable.html index 31e8b6f0e8..da300b4a96 100644 --- a/ext/search_kit/ang/crmSearchAdmin/resultsTable/crmSearchAdminResultsTable.html +++ b/ext/search_kit/ang/crmSearchAdmin/resultsTable/crmSearchAdminResultsTable.html @@ -3,6 +3,7 @@
+
diff --git a/ext/search_kit/ang/crmSearchDisplay/Pager.html b/ext/search_kit/ang/crmSearchDisplay/Pager.html index 00bd38b32b..5c35f17c88 100644 --- a/ext/search_kit/ang/crmSearchDisplay/Pager.html +++ b/ext/search_kit/ang/crmSearchDisplay/Pager.html @@ -1,12 +1,6 @@
-
- - +
diff --git a/ext/search_kit/ang/crmSearchDisplay/ResultCount.html b/ext/search_kit/ang/crmSearchDisplay/ResultCount.html new file mode 100644 index 0000000000..803a63d389 --- /dev/null +++ b/ext/search_kit/ang/crmSearchDisplay/ResultCount.html @@ -0,0 +1,6 @@ + + diff --git a/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.html b/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.html index 73e4104970..6e457e69bf 100644 --- a/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.html +++ b/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.html @@ -2,6 +2,7 @@
+
-- 2.25.1