1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-15 19:13:59 +02:00

Increase default select limit to 50

This commit is contained in:
Jakub Vrana
2013-04-15 14:45:49 -07:00
parent 8cce005b70
commit 285afc202a
3 changed files with 4 additions and 3 deletions

View 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() {