This patch adds the possibility to only show the number/count of databases a server has on the main page (main.php).
It addresses the '@todo', line 73 of libraries/select_server.lib.php.
By default, the old behavior is used, and by a configuration variable, the new behavior is used.
diff -u3 of select_server.lib.php and config.default.php
Logged In: YES
user_id=210714
Originator: NO
Bonjour Julien,
thanks for your patch. However we try to avoid adding a new config variable if possible.
A suggestion: if the count of $server['only_db'] is > 2, we just skip adding anything to $label. Displaying "4 databases" is not correct IMO because in only_db you can have wildcards.
Logged In: YES
user_id=210714
Originator: NO
Implemented my suggestion in 2.11