This is an automated email from the ASF dual-hosted git repository.

ddanielr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git

commit f54dfd9cd212ddd68852a237c5d1cb4adbc0ceb2
Merge: a1efd91039 5fccb5bda5
Author: Daniel Roberts ddanielr <[email protected]>
AuthorDate: Wed Jan 7 17:41:01 2026 +0000

    Merge branch '2.1'

 .../org/apache/accumulo/monitor/resources/js/functions.js      | 10 ++++++++++
 .../resources/org/apache/accumulo/monitor/templates/navbar.ftl |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --cc 
server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
index 7795ec4b0f,418b0d5e3f..84a2c23870
--- 
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
+++ 
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
@@@ -25,8 -26,18 +25,18 @@@
  // Suffixes for quantity
  var QUANTITY_SUFFIX = ['', 'K', 'M', 'B', 'T', 'e15', 'e18', 'e21'];
  // Suffixes for size
 -var SIZE_SUFFIX = ['', 'K', 'M', 'G', 'T', 'P', 'E', 'Z'];
 +var SIZE_SUFFIX = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB'];
  
+ // Override Length Menu options for dataTables
+ if ($.fn && $.fn.dataTable) {
+   $.extend(true, $.fn.dataTable.defaults, {
+   "lengthMenu" : [
+     [ 10, 25, 50, 100, -1 ],
+     [ 10, 25, 50, 100, "All" ]
+   ]
+   });
+ }
+ 
  /**
   * Initializes Auto Refresh to false if it is not set,
   * and creates listeners for auto refresh

Reply via email to