Skip to content

Commit a62f6cd

Browse files
committed
fix source indent of app/models/query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20039 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent 1a8c65a commit a62f6cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/models/query.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,9 +455,9 @@ def validate_query_filters
455455
case operator_for(field)
456456
when "=", ">=", "<=", "><"
457457
if values_for(field).detect do |v|
458-
v.present? &&
459-
(!/\A\d{4}-\d{2}-\d{2}(T\d{2}((:)?\d{2}){0,2}(Z|\d{2}:?\d{2})?)?\z/.match?(v) ||
460-
parse_date(v).nil?)
458+
v.present? &&
459+
(!/\A\d{4}-\d{2}-\d{2}(T\d{2}((:)?\d{2}){0,2}(Z|\d{2}:?\d{2})?)?\z/.match?(v) ||
460+
parse_date(v).nil?)
461461
end
462462
add_filter_error(field, :invalid)
463463
end
@@ -757,7 +757,7 @@ def columns
757757

758758
# preserve the column_names order
759759
cols = (has_default_columns? ? default_columns_names : column_names).collect do |name|
760-
available_columns.find {|col| col.name == name}
760+
available_columns.find {|col| col.name == name}
761761
end.compact
762762
available_columns.select(&:frozen?) | cols
763763
end

0 commit comments

Comments
 (0)