From 82ea59054b4009330cc493c55b52f766286c19d6 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Wed, 6 Jan 2016 14:48:37 +0100 Subject: [PATCH] Remove invalid opening paranthesis in DmsfFile search --- app/models/dmsf_file.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/dmsf_file.rb b/app/models/dmsf_file.rb index 6c535dae..94f3b000 100644 --- a/app/models/dmsf_file.rb +++ b/app/models/dmsf_file.rb @@ -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]