From 8b9b6d9c2daff312eb26f0c9240adbfbf8b41040 Mon Sep 17 00:00:00 2001 From: Mateus Machado Luna Date: Thu, 30 Aug 2018 10:58:21 -0300 Subject: [PATCH] Also disables sorting and Switches at Repository Level page for Filters. --- src/admin/components/lists/filters-list.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/admin/components/lists/filters-list.vue b/src/admin/components/lists/filters-list.vue index 02db0374a..fe9d3caf8 100644 --- a/src/admin/components/lists/filters-list.vue +++ b/src/admin/components/lists/filters-list.vue @@ -26,7 +26,7 @@ v-model="activeFilterList" :options="{ group: { name:'filters', pull: false, put: true }, - sort: openedFilterId == '' || openedFilterId == undefined, + sort: (openedFilterId == '' || openedFilterId == undefined) && !isRepositoryLevel, //disabled: openedFilterId != '' && openedFilterId != undefined, handle: '.handle', ghostClass: 'sortable-ghost', @@ -35,7 +35,7 @@