From ca3cb7d855caa6dbb8661d9705fb829222b4fdc8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 15 Apr 2025 16:07:15 +0200 Subject: 🐛 finds forms non museum instances: fix mark label (refs #6273) - fix museum ID display (refs #6286) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common/forms.py') diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py index 1416dd464..29fb33e91 100644 --- a/ishtar_common/forms.py +++ b/ishtar_common/forms.py @@ -779,9 +779,9 @@ class IshtarForm(BSForm, forms.Form): self._headers = {} # used for dynamic headers self._types = [] # used for dynamic types super().__init__(*args, **kwargs) - profile = None + profile = self.site_profile = None if self.PROFILE_FILTER or self.SITE_KEYS: - profile = models.get_current_profile() + profile = self.site_profile = models.get_current_profile() if self.PROFILE_FILTER: self._profile_filter(profile) -- cgit v1.2.3