From 2828a7ff52a5772b430e2c5af5603a1be15ece0b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 26 Sep 2025 12:39:52 +0200 Subject: ✨ search online documentation: add documentation for "today" keyword MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/templates/widgets/search_input.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/widgets/search_input.html b/ishtar_common/templates/widgets/search_input.html index e6808833e..d8ad26d8d 100644 --- a/ishtar_common/templates/widgets/search_input.html +++ b/ishtar_common/templates/widgets/search_input.html @@ -83,6 +83,10 @@

{% 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 "Today" %}

+

{% blocktrans %}Searches can be performed in relation to today's date using the keyword "today". "+" and "-" sign can be used in order to add or remove day to the current date.{% endblocktrans %}

+

{% blocktrans %}Example: the search "created=>'today-10'" will return all items created in the last 10 days.{% endblocktrans %}

+

{% trans "OR operator" %}

{% blocktrans %}An OR operator is available for searches that include, for example, different criteria. This operator uses the notation " || ".{% endblocktrans %}

{% blocktrans %}Example: the search "material='Metal' || object-type='ingot'" will include in the search all metallic finds as well as all finds whose object type is ingot.{% endblocktrans %}

-- cgit v1.2.3