Add ability to filter location and category tables by "structural" status (#4000)

This commit is contained in:
Oliver 2022-11-28 20:13:54 +11:00 committed by GitHub
parent ede2b4e787
commit 7e21e77c5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,10 @@ function getAvailableTableFilters(tableKey) {
title: '{% trans "Include sublocations" %}',
description: '{% trans "Include locations" %}',
},
structural: {
type: 'bool',
title: '{% trans "Structural" %}',
},
};
}
@ -141,6 +145,10 @@ function getAvailableTableFilters(tableKey) {
title: '{% trans "Include subcategories" %}',
description: '{% trans "Include subcategories" %}',
},
structural: {
type: 'bool',
title: '{% trans "Structural" %}',
},
starred: {
type: 'bool',
title: '{% trans "Subscribed" %}',