diff --git a/app/finders/pipelines_finder.rb b/app/finders/pipelines_finder.rb index 5a5416d00cc..3a95a1eb2ae 100644 --- a/app/finders/pipelines_finder.rb +++ b/app/finders/pipelines_finder.rb @@ -87,7 +87,7 @@ class PipelinesFinder items end end - + def by_duration(items) if params[:duration].present? items.where("duration > ?", params[:duration])