Merge pull request #493 from planio-gmbh/fix/remove_invalid_opening_parenthesis

Remove invalid opening paranthesis in DmsfFile search
This commit is contained in:
Karel Picman 2016-01-06 16:27:27 +01:00
commit befdfaff17

View File

@ -292,7 +292,7 @@ class DmsfFile < ActiveRecord::Base
project_ids = projects.collect(&:id) if projects
if options[:offset]
limit_options = ["(dmsf_files.updated_at #{options[:before] ? '<' : '>'} ?", options[:offset]]
limit_options = ["dmsf_files.updated_at #{options[:before] ? '<' : '>'} ?", options[:offset]]
end
if options[:titles_only]