16683: Sharing dialog query is compatible with federated user list
authorPeter Amstutz <peter.amstutz@curii.com>
Wed, 12 Aug 2020 20:20:19 +0000 (16:20 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Thu, 13 Aug 2020 17:42:19 +0000 (13:42 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

apps/workbench/app/views/application/_show_sharing.html.erb

index 7877e60d3018096bdc3ad6b9ef4c4bd892631925..75773ab90082ba0a79a64ba49b497216e1087094 100644 (file)
@@ -8,6 +8,8 @@ SPDX-License-Identifier: AGPL-3.0 %>
      [User, Group].each do |type|
        type
          .filter([['uuid','in',@share_links.collect(&:tail_uuid)]])
+         .with_count("none")
+         .fetch_multiple_pages(false)
          .each do |o|
          uuid_map[o.uuid] = o
        end