mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-20 19:55:56 +08:00
修改ignore/category/license/language的index筛选问题
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
class ProjectLanguagesController < ApplicationController
|
||||
def index
|
||||
@project_languages = ProjectLanguage.search(params[:name]).without_content
|
||||
#@project_languages = ProjectLanguage.search(params[:name]).
|
||||
q = ProjectLanguage.ransack(name_cont: params[:name])
|
||||
@project_languages = q.result(distinct: true)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user