On Wed, May 1, 2013 at 9:56 PM, Marc Delisle <marc@infomarc.info> wrote:
Hi,
I was training someone new to phpMyAdmin this morning and she was
surprised by the interface's behavior.

After Operations > Empty the table, the interface tries to browse the
table, then goes to the Structure page. She did not expect this.

Maybe, when browsing an empty table, we should avoid to go to Structure?

I think it makes more sense to send the user to the Browse page itself when the table is empty.
This way the user has access to 'Query results operations' and 'Bookmark this SQL query' section. 'Query results operations' should only show 'Create view' link as others are not valid for empty results set.
What do you all think?
If you like the idea I'd like to prepare a pull request.

--
Regards
Kasun Chathuranga