17119: the home project should include filter groups.
[arvados.git] / services / api / app / controllers / arvados / v1 / groups_controller.rb
index 394b5603b7918e745140942af58ef3bfc393a8cd..6498b7a512cce5329a3967692e808e0b1e97b7ef 100644 (file)
@@ -273,7 +273,7 @@ class Arvados::V1::GroupsController < ApplicationController
       if klass == Collection
         @select = klass.selectable_attributes - ["manifest_text", "unsigned_manifest_text"]
       elsif klass == Group
-        where_conds = where_conds.merge(group_class: "project")
+        where_conds = where_conds.merge(group_class: ["project","filter"])
       end
 
       @filters = request_filters.map do |col, op, val|