New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a view using a query does not pre-fill the query #14916
Comments
|
@williamdes Are you expecting a default query in AS field? |
|
@bahl24 Yes, the query that I executed or the one automatically executed when browsing the table |
|
Let me try this issue |
|
@williamdes Clicking on table->create view and view->new invoke the same script, so I am planning to use the arguments sent as default value for fields such as 'AS' and 'Column names'. |
|
@bahl24 phpMyAdmin
Maybe adding a parameter to fill the query and if no parameter is passed, leave empty ? |
Signed-off-by: Nitish Bahl <nitishbahl24@gmail.com>
|
@williamdes Although I am yet to behavior of 4.7.7, kindly take a look at the above commit. I will fix the additional bug shortly.
|
|
@williamdes As we already have Go and [X] button for the form, do we require the extra 'Go' and 'Cancel' button in the form footer? |
|
@bahl24 Only cancel seems okay |
Signed-off-by: Nitish Bahl <nitishbahl24@gmail.com>
|
The "Edit view" functionality is also affected by this. Edit view can be found from the Structure tab of a view, below the column list and above the Partition label. |
|
@ibennetch @williamdes Also, I feel we should remove 'Go' and "close' button from the form footer as another 'Go' and X icon on top of the create view form is already available. This also might solve the error you reported #14924 (comment) |
|
Changing the interface would be a separate issue to merge in to master only. The bug fix should go to QA_4_8, but we try not to change the interface in the QA branches. |
|
@ibennetch @williamdes Should I work on removing the buttons then? This will fix #14924 (comment) |
[ci skip] Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Fix: phpmyadmin#14926 See: phpmyadmin#14916 Signed-off-by: Nitish Bahl <nitishbahl24@gmail.com> Signed-off-by: William Desportes <williamdes@wdes.fr>
Fixes: #14916 Signed-off-by: William Desportes <williamdes@wdes.fr>




Describe the bug
Creating a view using a query does not pre-fill the query
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Pre-fill the query into the modal
Actual behavior
Empty query
Additional bug
Submit empty modal shows waiting forever !
The text was updated successfully, but these errors were encountered: