diff --git a/app/controllers/files_controller.rb b/app/controllers/files_controller.rb index 7c399e996..7033aa8f8 100644 --- a/app/controllers/files_controller.rb +++ b/app/controllers/files_controller.rb @@ -60,8 +60,7 @@ class FilesController < ApplicationController sort = "#{@sort} #{@order}" end - show_attachments [@course] - @tag_list = attachment_tag_list @all_attachments + # show_attachments [@course] begin q = "%#{params[:name].strip}%" @@ -76,6 +75,8 @@ class FilesController < ApplicationController @searched_attach = paginateHelper @result,10 end + @tag_list = attachment_tag_list @searched_attach + #rescue Exception => e # #render 'stores' # redirect_to search_course_files_url