From: Michael Rasmussen Date: Sun, 7 Jun 2015 22:06:33 +0000 (+0200) Subject: Finish change row per page X-Git-Url: http://git.datanom.net/qtadmin.git/commitdiff_plain/7d080341a23c30924f88d847dc24e4b55f198ae5 Finish change row per page --- diff --git a/js/forms.js b/js/forms.js index f09ed99..1460abd 100644 --- a/js/forms.js +++ b/js/forms.js @@ -25,7 +25,7 @@ function updateRowsPerPage() { } else { base = location.href; } - if (location.href.charAt(location.href.length - 1) == '?') { + if (location.href.charAt(location.href.length) == '?') { href = base + 'rowsperpage=' + rowsPerPage.value; } else { href = base + '?rowsperpage=' + rowsPerPage.value;