4233: select from Logs table only columns we will need
[arvados.git] / apps / workbench / app / helpers / application_helper.rb
index 213f5c2792b9ab42840abd8f3207d176c83b797d..c8c4ccc1a96a89facdbc580ab7f9c40eb7f80505 100644 (file)
@@ -287,7 +287,7 @@ module ApplicationHelper
          preconfigured_search_str: (preconfigured_search_str || ""),
          action_data: {
            merge: true,
-           use_checkbox_selection: dataclass == File ? true : nil,
+           use_preview_selection: dataclass == File ? true : nil,
            selection_param: selection_param,
            success: 'page-refresh'
          }.to_json,
@@ -449,10 +449,10 @@ module ApplicationHelper
     end
   end
 
-  def chooser_preview_url_for object, use_checkbox_selection=false
+  def chooser_preview_url_for object, use_preview_selection=false
     case object.class.to_s
     when 'Collection'
-      polymorphic_path(object, tab_pane: 'chooser_preview', use_checkbox_selection: use_checkbox_selection)
+      polymorphic_path(object, tab_pane: 'chooser_preview', use_preview_selection: use_preview_selection)
     else
       nil
     end