From 98fafeec798486126cb063b72dc25de6f5bd30f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 2 Feb 2017 14:57:03 +0100 Subject: [PATCH] Properly pass token on navigation paginating MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #12936 Signed-off-by: Michal Čihař --- ChangeLog | 1 + js/navigation.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ea59b0e763..67854632d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -53,6 +53,7 @@ phpMyAdmin - ChangeLog - issue #12924 Do not show errors from OpenSSL cookie encryption/decryption - issue #12945 Fixed hint rendering on adding new user - issue #12941 Fixed sorting of tables in relation view +- issue #12936 Fixed tables pagination in navigation panel 4.6.6 (2017-01-23) - issue #12759 Fix Notice regarding 'Undefined index: old_usergroup' diff --git a/js/navigation.js b/js/navigation.js index 35cf97905c..364b47f733 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -1037,7 +1037,7 @@ function PMA_navigationTreePagination($this) { var url, params; if ($this[0].tagName == 'A') { url = $this.attr('href'); - params = 'ajax_request=true'; + params = 'ajax_request=true&token=' + PMA_commonParams.get('token'); } else { // tagName == 'SELECT' url = 'navigation.php'; params = $this.closest("form").serialize() + '&ajax_request=true';