From 8e9aa5f6286a15c818a47344fc80964f5288bb52 Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Thu, 20 Feb 2025 15:24:42 +0100
Subject: frontend: Allow filtering for orphaned associations

With the association count filters in place we may now also allow the
user to filter for associations that do not have a matching counterparts
(artists without a comic, for example).
---
 frontend/src/routes/characters/+page.svelte | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'frontend/src/routes/characters/+page.svelte')

diff --git a/frontend/src/routes/characters/+page.svelte b/frontend/src/routes/characters/+page.svelte
index 3a4b737..970a8fa 100644
--- a/frontend/src/routes/characters/+page.svelte
+++ b/frontend/src/routes/characters/+page.svelte
@@ -20,6 +20,7 @@
 	import { initSelectionContext } from '$lib/selection/Selection.svelte';
 	import SelectionOverlay from '$lib/selection/SelectionOverlay.svelte';
 	import DeleteSelection from '$lib/toolbar/DeleteSelection.svelte';
+	import FilterOrphaned from '$lib/toolbar/FilterOrphaned.svelte';
 	import Search from '$lib/toolbar/Search.svelte';
 	import SelectItems from '$lib/toolbar/SelectItems.svelte';
 	import SelectSort from '$lib/toolbar/SelectSort.svelte';
@@ -69,6 +70,7 @@
 		{/snippet}
 		{#snippet center()}
 			<Search name="Characters" {filter} bind:field={filter.include.name.contains} />
+			<FilterOrphaned {filter} />
 			<SelectSort {sort} labels={CharacterSortLabel} />
 			<SelectItems {pagination} />
 		{/snippet}
-- 
cgit v1.2.3-2-gb3c3

