diff --git a/mediarepo-ui/src/app/components/file-search/filter-dialog/filter-dialog.component.html b/mediarepo-ui/src/app/components/file-search/filter-dialog/filter-dialog.component.html
index c5762b8..3d76050 100644
--- a/mediarepo-ui/src/app/components/file-search/filter-dialog/filter-dialog.component.html
+++ b/mediarepo-ui/src/app/components/file-search/filter-dialog/filter-dialog.component.html
@@ -19,4 +19,5 @@
+
diff --git a/mediarepo-ui/src/app/components/file-search/filter-dialog/filter-dialog.component.ts b/mediarepo-ui/src/app/components/file-search/filter-dialog/filter-dialog.component.ts
index e5e9f45..ce97c95 100644
--- a/mediarepo-ui/src/app/components/file-search/filter-dialog/filter-dialog.component.ts
+++ b/mediarepo-ui/src/app/components/file-search/filter-dialog/filter-dialog.component.ts
@@ -111,6 +111,10 @@ export class FilterDialogComponent {
this.unselectAll();
}
+ public invertSelection(): void {
+ this.selectedQueries.forEach(query => query.negate = !query.negate);
+ }
+
private removeFilterDuplicates() {
const filters = this.filters;
let newFilters: Selectable[] = [];