Verified Commit 36770dcb authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix studydocuments filter updating

parent 76e3e6f8
......@@ -62,7 +62,8 @@ export default class StudydocList extends FilteredListPage {
});
if (
(values[field] || values[field].length === 0 || values[field].includes('all')) &&
values[field] &&
(values[field].length === 0 || !values[field].includes('all')) &&
field in dataStore.availableFilterValues
) {
data.push(...dataStore.availableFilterValues[field]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment