From 0e878e1db39223dcfc8c0400e06eec517ecddc53 Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Sun, 7 Jun 2015 20:30:30 +0200 Subject: [PATCH] Add change row per page --- js/forms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/forms.js b/js/forms.js index d19ef60..84b00d1 100644 --- a/js/forms.js +++ b/js/forms.js @@ -17,7 +17,7 @@ function updateRowsPerPage() { if (found == false) { /* current page has rows < current rows per page */ var href = location.href; - href = encodeURI('index.php?rowsperpage=' + rowsPerPage.value); + href = 'index.php?page=1&rowsperpage=' + rowsPerPage.value; alert(href); window.open(href, '_self'); } -- 2.39.2