diff options
Diffstat (limited to 'ishtar_common/templates/widgets/search_input.html')
-rw-r--r-- | ishtar_common/templates/widgets/search_input.html | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ <p>{% 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 %}</p> <p><em>{% blocktrans %}Example: the search "year=>'2019'" will return all items from 2019 and onwards.{% endblocktrans %}</em></p> + <h4>{% trans "Today" %}</h4> + <p>{% 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 %}</p> + <p><em>{% blocktrans %}Example: the search "created=>'today-10'" will return all items created in the last 10 days.{% endblocktrans %}</em></p> + <h4>{% trans "OR operator" %}</h4> <p>{% blocktrans %}An OR operator is available for searches that include, for example, different criteria. This operator uses the notation " || ".{% endblocktrans %}</p> <p><em>{% 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 %}</em></p> |