diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-12-01 15:06:02 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-12-01 15:10:08 +0100 |
| commit | 9de45f70dbe6821e10ecb90f0407d8f25e2745a5 (patch) | |
| tree | ec1a1f3cd554a3a6d340e3543575e9e97f79b8e7 /ishtar_common | |
| parent | e239ce326755e476521e35d7cbb680d1358b5883 (diff) | |
| download | Ishtar-9de45f70dbe6821e10ecb90f0407d8f25e2745a5.tar.bz2 Ishtar-9de45f70dbe6821e10ecb90f0407d8f25e2745a5.zip | |
📝 update search documentation (#6504)
Diffstat (limited to 'ishtar_common')
| -rw-r--r-- | ishtar_common/templates/widgets/search_input.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/templates/widgets/search_input.html b/ishtar_common/templates/widgets/search_input.html index 14249f4e8..6ae8d5d82 100644 --- a/ishtar_common/templates/widgets/search_input.html +++ b/ishtar_common/templates/widgets/search_input.html @@ -79,7 +79,8 @@ <h4>{% trans "Filled/empty" %}</h4> <p>{% blocktrans %}If you want to get items with a specific criteria filled, set the value to "*". Instead if you want to get items with a specific criteria empty, set the value to "*", then prefix the criterion with "-".{% endblocktrans %}</p> <p><em>{% blocktrans %}Example: "material='*'" will return only all items with a material set, "-material='*'" return all items with material not set.{% endblocktrans %}</em></p> - + <p>{% blocktrans %}This information applies to text fields. For numeric fields, use the greater than operator (see next section).{% endblocktrans %}</p> + <p><em>{% blocktrans %}Example: searching for "length=>'0'" will return all values greater than or equal to 0, i.e. all completed lengths.{% endblocktrans %}</em></p> <h4>{% trans "Greater than, lower than, before, after" %}</h4> <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> |
