phpmyadmin / phpmyadmin/phpmyadmin
[Bug]: ShowDatabasesNavigationAsTree not working as expected
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 7.9k
- Forks
- 3.6k
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 36
Description
Describe the bug
After upgrading to phpmyadmin 5.2.3 using ShowDatabasesNavigationAsTree set to False gives different behavior than before.
How to Reproduce
$cfg['ShowDatabasesNavigationAsTree'] = false in the config.inc.php file
- Go to Home screen of phpmyadmin
- Click on any database in the tree on the left
- Database expands in place still showing all databases
- Refresh the page and the nav tree now shows only the selected database
Expected behavior
Clicking on any database should load only that database into the tree and selecting a different database requires changing the database in the drop down box at the top of the nav tree.
Screenshots
On click
after refreshing page
Operating System
Windows
Web Server
Apache/2.4.58
Database Server
MariaDB
Database version
12.1.2-MariaDB
PHP version
8.2.12
phpMyAdmin version
5.2.3
browser
Vivaldi 7.7.3851.67 (Official Build) (64-bit) - Chromium 142.0.7444.267
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior from the Home screen with ShowDatabasesNavigationAsTree set to false in config.inc.php, then follow the database selection and left navigation tree entry points. Done means clicking a database immediately leaves only that database in the tree, matching the refreshed state and the stated expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100