Merge pull request #3800 from artoscinote/ma_SCI_6474

Fix loading of saved filters [SCI-6474]
This commit is contained in:
artoscinote 2022-01-27 13:43:35 +01:00 committed by GitHub
commit 7de6d3d566
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -55,6 +55,7 @@
align-items: center;
display: flex;
padding: .5em 1em;
cursor: pointer;
.btn-light {
color: $color-silver-chalice;

View file

@ -95,6 +95,7 @@
$('#filtersColumnsDropdown').toggleClass('open');
},
loadFilters(filterUrl) {
this.filters = [];
$.get(filterUrl, (data) => {
let filters = [];
let rawFilters = data.data.attributes.default_columns.concat((data.included || []).map(f => f.attributes))