]> git.joonet.de Git - adminer.git/commitdiff
Increase default select limit to 50
authorJakub Vrana <jakub@vrana.cz>
Mon, 15 Apr 2013 21:45:49 +0000 (14:45 -0700)
committerJakub Vrana <jakub@vrana.cz>
Mon, 15 Apr 2013 21:45:49 +0000 (14:45 -0700)
adminer/include/adminer.inc.php
changes.txt
editor/include/adminer.inc.php

index e65f3ad8aca101d88e543a85eeead44395be6744..02d3da989cddfe834ba205f233c247d93e6f2779 100644 (file)
@@ -447,7 +447,7 @@ username.form['auth[driver]'].onchange();
        * @return string expression to use in LIMIT, will be escaped
        */
        function selectLimitProcess() {
-               return (isset($_GET["limit"]) ? $_GET["limit"] : "30");
+               return (isset($_GET["limit"]) ? $_GET["limit"] : "50");
        }
        
        /** Process length box in select
index ebac56738416785362621be8aef1f233a02ebe43..c69c62fe01255bfa43a1f504f37f8e3a33a79060 100644 (file)
@@ -1,5 +1,6 @@
 Adminer 3.6.4-dev:
 Display pagination on a fixed position
+Increase default select limit to 50
 Display SQL edit form on Ctrl+click on the select query
 Recover original view, trigger, routine if creating fails
 Clear column name after resetting search (bug #3601200)
index 9acc08dc1e6991147d2849ba641bc979d9e7d28a..c31f327347ae34121166604a6315d9295b2ac0e6 100644 (file)
@@ -272,7 +272,7 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
        
        function selectLimitPrint($limit) {
                echo "<fieldset><legend>" . lang('Limit') . "</legend><div>"; // <div> for easy styling
-               echo html_select("limit", array("", "30", "100"), $limit);
+               echo html_select("limit", array("", "50", "100"), $limit);
                echo "</div></fieldset>\n";
        }
        
@@ -374,7 +374,7 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
        }
        
        function selectLimitProcess() {
-               return (isset($_GET["limit"]) ? $_GET["limit"] : "30");
+               return (isset($_GET["limit"]) ? $_GET["limit"] : "50");
        }
        
        function selectLengthProcess() {