Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2019-11-20 03:01:35 +0300
committerWilliam Desportes <williamdes@wdes.fr>2019-11-20 15:00:32 +0300
commit4b6f04c14258f4940826e9154744387721a244f4 (patch)
treeef7fc3cf785fbfc5b20a3968a67404da4571c1c9 /templates
parent39a98a7fdf31414dd0842b5968b1b658cf2ab862 (diff)
Improve select all checkbox process on designer and fix a bug
The bug is: - select a column name checkbox - select all columns checkbox - deselect all columns checkbox - build query - the first checked column is added and can not be removed now (this is the bug) Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'templates')
-rw-r--r--templates/database/designer/database_tables.twig6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/database/designer/database_tables.twig b/templates/database/designer/database_tables.twig
index 802ad02bee..758537caea 100644
--- a/templates/database/designer/database_tables.twig
+++ b/templates/database/designer/database_tables.twig
@@ -27,10 +27,10 @@
type="checkbox"
style="margin: 0;"
value="select_all_{{ t_n_url }}"
- id="select_all_{{ t_n_url }}"
+ id="select_all_{{ i }}"
title="{% trans 'Select all' %}"
- designer_url_table_name="{{ t_n_url }}"
- designer_out_owner="{{ designerTable.getDatabaseName() }}">
+ table_name="{{ table_name }}"
+ db_name="{{ db }}">
</td>
{% endif %}
<td class="small_tab"