]> git.datanom.net - qtadmin.git/commitdiff
Add change row per page
authorMichael Rasmussen <mir@datanom.net>
Sun, 7 Jun 2015 18:30:30 +0000 (20:30 +0200)
committerMichael Rasmussen <mir@datanom.net>
Sun, 7 Jun 2015 18:30:30 +0000 (20:30 +0200)
js/forms.js

index d19ef60022940851753394bcead5f01dbdaed546..84b00d1e31d084f431d868dc9a72d03b9d4504a6 100644 (file)
@@ -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');
     }
This page took 0.034009 seconds and 5 git commands to generate.