From c7e2e7ba7c9fc51b8119d3f16c18612c8df70068 Mon Sep 17 00:00:00 2001 From: William Moore Date: Mon, 2 Dec 2024 16:34:14 +0000 Subject: [PATCH] Don't filter groups by owner. Always show all available groups --- src/js/views/files.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/js/views/files.js b/src/js/views/files.js index 4822e852..d14a4367 100644 --- a/src/js/views/files.js +++ b/src/js/views/files.js @@ -290,10 +290,6 @@ export var FileListView = Backbone.View.extend({ // render groups chooser var groups = this.model.pluck("group"); - if (filter.owner) { - let groupIds = this.model.models.filter(f => f.get('owner').id == filter.owner).map(f => f.get('group').id); - groups = groups.filter(g => groupIds.includes(g.id)); - } var groupsByName = {}; groups.forEach(function (g) { groupsByName[g.name] = g.id;