]> source.dussan.org Git - redmine.git/commitdiff
Fix query columns selection in time tracking settings page from admin (#39806).
authorMarius Balteanu <marius.balteanu@zitec.com>
Tue, 16 Jan 2024 16:48:39 +0000 (16:48 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Tue, 16 Jan 2024 16:48:39 +0000 (16:48 +0000)
Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22608 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/settings/_timelog.html.erb

index 01d42384bfeb8a3154bd72a5d74a2eea7b3e1343..c6efd966d476e15875f4bd0f986ce4b4b6534ca7 100644 (file)
 
   <% query = TimeEntryQuery.new(Setting.time_entry_list_defaults) %>
   <%= hidden_field_tag('settings[time_entry_list_defaults][column_names][]', '') %>
-  <%= render_query_columns_selection(query,
-        :name => 'settings[time_entry_list_defaults][column_names]') %>
+  <div id="list-definition">
+    <div>
+      <%= render_query_columns_selection(query,
+            :name => 'settings[time_entry_list_defaults][column_names]') %>
+    </div>
+  </div>
   <p>
     <label><%= l(:label_total_plural) %></label>
     <%= available_totalable_columns_tags(query,