I don't need the table filter in the left frame so I added config option to hide it. I just do this after every update, here's what I did with the 3.3.6 source:
- In libraries/config.default.php add the following beginning from line 781
/**
* display table filter
*
* @global boolean $cfg['LeftDisplayTableFilter']
*/
$cfg['LeftDisplayTableFilter'] = TRUE;
- In navigation.php change row 300 to:
if ($table_count && $GLOBALS['cfg']['LeftDisplayTableFilter']) {
- To not to show the filter add this to your config.inc.php:
$cfg['LeftDisplayTableFilter'] = FALSE;
Your patch was merged in the repository, thanks.
I just came about this patch as I find the new filter box quite annoying most of the time. However, there's also cases where it is useful. Instead of using a bool value I used this syntax:
if ($table_count > 40) {
which displays all tables on a 1280x1024 screen and the filter only if the table count exceeds this.
Wouldn't this be actually better than using a bool true/false as it adds more flexibility? As 3.4 isn't out yet there is still time to change this.
Interesting point, we would probably want to rename the config option to something like LeftDisplayTableFilterMinium
Obviously the setup form and documentation would also have to be updated.
Thanks kai-schaetzl it's just committed for 3.4.0-alpha3-dev