From 9b55fd5e33234abc9de9d5a811d81a46f8499096 Mon Sep 17 00:00:00 2001
From: Gregoo <versatile.mailbox@gmail.com>
Date: Mon, 3 Feb 2025 18:07:03 +0100
Subject: [PATCH] Fix storage status filters
---
templates/sets.html | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/templates/sets.html b/templates/sets.html
index 943f7941..236c3785 100644
--- a/templates/sets.html
+++ b/templates/sets.html
@@ -57,7 +57,10 @@
<option value="has-missing">Set has missing pieces</option>
<option value="has-damaged">Set has damaged pieces</option>
<option value="has-missing-instructions">Set has missing instructions</option>
- {% if brickset_storage | length %}<option value="has-storage">Is in storage</option>{% endif %}
+ {% if brickset_storages | length %}
+ <option value="has-storage">Is in storage</option>
+ <option value="-has-storage">Is NOT in storage</option>
+ {% endif %}
{% for status in brickset_statuses %}
<option value="{{ status.as_dataset() }}">{{ status.fields.name }}</option>
<option value="-{{ status.as_dataset() }}">NOT: {{ status.fields.name }}</option>