From 8793d61e0f01090a83d745fc504066880d86da41 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 20 Jun 2024 16:52:21 +0200 Subject: 📝 update documentation: searches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/templates/widgets/search_input.html | 2 +- ishtar_common/widgets.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/widgets/search_input.html b/ishtar_common/templates/widgets/search_input.html index 9cbae011e..2f8cba06f 100644 --- a/ishtar_common/templates/widgets/search_input.html +++ b/ishtar_common/templates/widgets/search_input.html @@ -80,7 +80,7 @@

{% blocktrans %}For searches such as larger, smaller (for numeric fields), before, after (for date fields), add the criterion from the form, then change the "=" sign to "=>" or "=<", depending on the desired result.{% endblocktrans %}

{% blocktrans %}Example: the search 'year=>"2019"' will return all items from 2019 and onwards.{% endblocktrans %}

-

{% trans "Full documentation for searches." %}

+

{% trans "Full documentation for searches." %}

diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py index 403b06258..cb112b22b 100644 --- a/ishtar_common/widgets.py +++ b/ishtar_common/widgets.py @@ -630,7 +630,6 @@ class SearchWidget(forms.TextInput): context["model"] = self.model context["pin_model"] = self.pin_model context["widget"]["ISHTAR_DOCUMENT_VERSION"] = settings.ISHTAR_DOCUMENT_VERSION - print(context) return context -- cgit v1.2.3