Originally brought up in https://stackoverflow.com/questions/24551187/executing-select-query-is-not-switching-environment-to-new-table
When changing tables through manually executed SQL, we don't behave consistently. For instance, in the sakila database, click to browse 'actors'. Then use the Inline edit button to change the SQL to SELECT * FROM category
. The expected result would be to have the active table changed to 'category' -- and the navigation pane does change the highlighted table, but the active table for tabs and the breadcrumb list stay with 'actors'.
Additionally, entering a query directly to the SQL tab does not change the navigation pane or breadcrumb list.
However, changing databases this way does work as expected (clicking the SQL tab and typing USE employees
; has the desired effect).
Is this possible to improve?
Ticket moved from /p/phpmyadmin/feature-requests/1536/
This behavior is mostly due to the ajaxification of SQL areas. I'm not sure whether this can be fixed without undoing them.
May be since we use ajax for page loading itself, removing these custom ajaxifications won't harm much???
I sent a PR for this ticket: https://github.com/phpmyadmin/phpmyadmin/pull/1414
I sent another one for 4.3: https://github.com/phpmyadmin/phpmyadmin/pull/1416