Skip to content

Commit

Permalink
Update documentation.
Browse files Browse the repository at this point in the history
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
  • Loading branch information
Tithugues committed Apr 22, 2014
1 parent 3319c63 commit ebc2739
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions doc/config.rst
Expand Up @@ -1379,16 +1379,16 @@ Navigation panel setup
:type: integer
:default: 25

The number of items that can be displayed on each page of the first level
The number of first level databases that can be displayed on each page
of navigation tree.

.. config:option:: $cfg['MaxNavigationItems']
:type: integer
:default: 250

The number of items that can be displayed on each page of the
navigation tree.
The number of items (tables, columns, indexes) that can be displayed on each
page of the navigation tree.

.. config:option:: $cfg['NavigationTreeEnableGrouping']
Expand Down
2 changes: 1 addition & 1 deletion libraries/config.default.php
Expand Up @@ -848,7 +848,7 @@
*/

/**
* maximum number of items displayed on first level in navigation panel
* maximum number of first level databases displayed in navigation panel
*
* @global integer $cfg['FirstLevelNavigationItems']
*/
Expand Down
2 changes: 1 addition & 1 deletion test/classes/navigation/PMA_Node_test.php
Expand Up @@ -342,7 +342,7 @@ public function testGetData()
if (! isset($GLOBALS['cfg'])) {
$GLOBALS['cfg'] = array();
}
$GLOBALS['cfg']['MaxNavigationItems'] = $limit;
$GLOBALS['cfg']['FirstLevelNavigationItems'] = $limit;

$expectedSql = "SELECT `SCHEMA_NAME` ";
$expectedSql .= "FROM `INFORMATION_SCHEMA`.`SCHEMATA` ";
Expand Down

0 comments on commit ebc2739

Please sign in to comment.