13561: Fixes api to get a collection with its past versions.
[arvados.git] / services / api / app / controllers / arvados / v1 / collections_controller.rb
index 18b88c4d47c590dcbb6fa45892b1d6bfca06905d..5d7a7ae266b82fa918a47312c6584d0897a6231c 100644 (file)
@@ -235,17 +235,4 @@ class Arvados::V1::CollectionsController < ApplicationController
       @select ||= model_class.selectable_attributes - ["manifest_text", "unsigned_manifest_text"]
     end
   end
-
-  def load_filters_param
-    super
-    return if !params[:include_old_versions]
-    @filters = @filters.map do |col, operator, operand|
-      # Replace uuid filters when including past versions
-      if col == 'uuid'
-        ['current_version_uuid', operator, operand]
-      else
-        [col, operator, operand]
-      end
-    end
-  end
 end