From b3633b7cf038f3be28d3efb520e1e2ace97b4247 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 30 Apr 2024 20:45:01 +0200 Subject: [PATCH] do not show head line of batch operations if none is allowed --- views/bootstrap/class.Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.Search.php b/views/bootstrap/class.Search.php index 02e2028c0..e62c30266 100644 --- a/views/bootstrap/class.Search.php +++ b/views/bootstrap/class.Search.php @@ -1422,7 +1422,7 @@ $(document).ready(function() { } /* Batch operations {{{ */ - if($total) + if($settings->_batchOperations && $total) $this->contentHeading(getMLText('batch_operation')); if($totaldocs) { if(in_array('export', $settings->_batchOperations)) {