Use custom fields in filter throw error 500 #1395
This commit is contained in:
parent
af3c93cbea
commit
dc2ee263cb
@ -88,9 +88,8 @@ class DmsfQuery < Query
|
||||
|
||||
def base_scope
|
||||
unless @scope
|
||||
# @scope = [dmsf_folders_scope, dmsf_folder_links_scope, dmsf_projects_scope, dmsf_files_scope,
|
||||
# dmsf_file_links_scope, dmsf_url_links_scope].compact.inject(:union_all)
|
||||
@scope = [dmsf_folders_scope, dmsf_files_scope].compact.inject(:union_all)
|
||||
@scope = [dmsf_folders_scope, dmsf_folder_links_scope, dmsf_projects_scope, dmsf_files_scope,
|
||||
dmsf_file_links_scope, dmsf_url_links_scope].compact.inject(:union_all)
|
||||
end
|
||||
@scope
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user