tag云显示搜索结果的TAG云
This commit is contained in:
parent
2e3294a341
commit
0f6d2676e5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue