From 30c2b8a493fb91aa5b6f6de770f3229d76eda725 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 13 May 2022 17:53:38 +0200 Subject: [PATCH] do not set orderby when clicking on link in sidebar as it is undefined anyway --- views/bootstrap/class.MyDocuments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.MyDocuments.php b/views/bootstrap/class.MyDocuments.php index 9cbde242a..e0ccc3b5b 100644 --- a/views/bootstrap/class.MyDocuments.php +++ b/views/bootstrap/class.MyDocuments.php @@ -48,7 +48,7 @@ $(document).ready( function() { $('body').on('click', 'ul.sidenav li a', function(ev){ ev.preventDefault(); $('#kkkk.ajax').data('action', $(this).data('action')); - $('#kkkk.ajax').trigger('update', {orderby: $(this).data('orderby')}); + $('#kkkk.ajax').trigger('update', {}); }); $('body').on('click', 'table th a', function(ev){ ev.preventDefault();