From d0760b4da854e1dadb4ff130468a4c6d185b1abc Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 28 Nov 2024 17:58:55 +0100 Subject: ✨ exhibition: forms/sheets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/widgets.py') diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py index e131521e0..b9166f361 100644 --- a/ishtar_common/widgets.py +++ b/ishtar_common/widgets.py @@ -621,7 +621,7 @@ class SearchWidget(forms.TextInput): self.app_name = app_name self.model = model if not pin_model: - pin_model = self.model + pin_model = self.model.lower() self.pin_model = pin_model def get_context(self, name, value, attrs): -- cgit v1.2.3