2017-01-05 21:11:45 +01:00
|
|
|
<div class="overlay-modal hide" id="search-operators" tabindex="-1" role="dialog"
|
2018-04-05 08:38:46 +02:00
|
|
|
aria-label="{{ _('Search operators') }}">
|
2017-06-20 15:30:15 +02:00
|
|
|
<div class="modal-body" tabindex="0">
|
2017-02-24 16:42:13 +01:00
|
|
|
<table class="table table-striped table-condensed table-rounded table-bordered help-table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{{ _('Operator') }}</th>
|
|
|
|
<th>{{ _('Effect') }}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">stream:<span class="operator_value">stream</span></td>
|
|
|
|
<td class="definition">{{ _('Narrow to messages on stream') }} <span class="operator_value">stream</span></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">topic:<span class="operator_value">topic</span></td>
|
|
|
|
<td class="definition">{{ _('Narrow to messages with topic') }} <span class="operator_value">topic</span></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">pm-with:<span class="operator_value">email</span></td>
|
|
|
|
<td class="definition">{{ _('Narrow to private messages with') }} <span class="operator_value">email</span></td>
|
|
|
|
</tr>
|
2017-06-04 01:51:53 +02:00
|
|
|
<tr>
|
|
|
|
<td class="operator">group-pm-with:<span class="operator_value">email</span></td>
|
|
|
|
<td class="definition">{{ _('Narrow to group private messages with') }} <span class="operator_value">email</span></td>
|
|
|
|
</tr>
|
2017-02-24 16:42:13 +01:00
|
|
|
<tr>
|
|
|
|
<td class="operator">sender:<span class="operator_value">email</span></td>
|
|
|
|
<td class="definition">{{ _('Narrow to messages sent by') }} <span class="operator_value">email</span></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">sender:me</td>
|
|
|
|
<td class="definition">{{ _('Narrow to messages sent by you.') }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">near:<span class="operator_value">id</span></td>
|
|
|
|
<td class="definition">{{ _('Center the view around message ID') }} <span class="operator_value">id</span></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">id:<span class="operator_value">id</span></td>
|
|
|
|
<td class="definition">{{ _('Narrow to just message ID') }} <span class="operator_value">id</span></td>
|
|
|
|
</tr>
|
2019-08-13 20:20:36 +02:00
|
|
|
<tr>
|
|
|
|
<td class="operator">streams:public</td>
|
|
|
|
<td class="definition">{{ _('Search all public streams in the organization.') }}</td>
|
|
|
|
</tr>
|
2017-02-24 16:42:13 +01:00
|
|
|
<tr>
|
2018-07-06 23:25:15 +02:00
|
|
|
<td class="operator">is:alerted</td>
|
|
|
|
<td class="definition">{{ _('Narrow to messages with alert words.') }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-02-24 16:42:13 +01:00
|
|
|
<td class="operator">is:mentioned</td>
|
|
|
|
<td class="definition">{{ _('Narrow to messages that mention you.') }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">is:private</td>
|
|
|
|
<td class="definition">{{ _('Narrow to private messages.') }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">is:starred</td>
|
|
|
|
<td class="definition">{{ _('Narrow to starred messages.') }}</td>
|
|
|
|
</tr>
|
2017-06-19 04:03:37 +02:00
|
|
|
<tr>
|
|
|
|
<td class="operator">is:unread</td>
|
|
|
|
<td class="definition">{{ _('Narrow to unread messages.') }}</td>
|
|
|
|
</tr>
|
2017-02-24 16:42:13 +01:00
|
|
|
<tr>
|
|
|
|
<td class="operator">has:link</td>
|
|
|
|
<td class="definition">{{ _('Narrow to messages containing links.') }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">has:image</td>
|
|
|
|
<td class="definition">{{ _('Narrow to messages containing images.') }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">has:attachment</td>
|
|
|
|
<td class="definition">{{ _('Narrow to messages containing uploads.') }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator"><span class="operator_value">keyword</span></td>
|
|
|
|
<td class="definition">{% trans %}Search for <span class="operator_value"> keyword </span> in the topic or message content {% endtrans %}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="operator">-topic:<span class="operator_value">topic</span></td>
|
|
|
|
<td class="definition">{% trans %}Exclude messages with topic <span class="operator_value">topic</span>{% endtrans %}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2017-12-05 01:11:14 +01:00
|
|
|
|
2019-10-24 22:03:38 +02:00
|
|
|
<p>{% trans %}You can use any combination of these search
|
|
|
|
operators in a single query. For example:{% endtrans %}</p>
|
2017-12-05 01:11:14 +01:00
|
|
|
|
|
|
|
{% set placeholder_stream = _("streamname") %}
|
|
|
|
{% set placeholder_email = _("user@example.com") %}
|
|
|
|
{% set placeholder_keyword = _("keyword") %}
|
2013-12-02 22:51:03 +01:00
|
|
|
|
2017-10-20 01:48:21 +02:00
|
|
|
<p>
|
|
|
|
|
|
|
|
<span class="operator">
|
2019-10-24 22:03:38 +02:00
|
|
|
stream:<span class="operator_value">{{ placeholder_stream }}</span>
|
2017-12-05 01:11:14 +01:00
|
|
|
sender:<span class="operator_value">{{ placeholder_email }}</span>
|
|
|
|
<span class="operator_value">{{ placeholder_keyword }}</span>
|
2017-10-20 01:48:21 +02:00
|
|
|
</span>
|
|
|
|
</p>
|
2013-12-02 22:51:03 +01:00
|
|
|
|
2017-10-20 01:48:21 +02:00
|
|
|
<p>
|
2017-12-05 01:11:14 +01:00
|
|
|
{% trans %}
|
|
|
|
That query would search for messages sent by
|
|
|
|
<span class="operator_value">{{ placeholder_email }}</span>
|
2017-10-20 01:48:21 +02:00
|
|
|
to stream
|
2017-12-05 01:11:14 +01:00
|
|
|
<span class="operator_value">{{ placeholder_stream }}</span>
|
2017-10-20 01:48:21 +02:00
|
|
|
containing the keyword
|
2017-12-05 01:11:14 +01:00
|
|
|
<span class="operator_value">{{ placeholder_keyword }}</span>.
|
|
|
|
{% endtrans %}
|
2017-10-20 01:48:21 +02:00
|
|
|
</p>
|
2017-04-14 05:08:52 +02:00
|
|
|
<hr/>
|
2017-12-05 01:11:14 +01:00
|
|
|
<a href="/help/search-for-messages#search-operators" target="_blank">{% trans %}Detailed search operators documentation{% endtrans %}</a>
|
2017-02-24 16:42:13 +01:00
|
|
|
</div>
|
2013-12-02 22:51:03 +01:00
|
|
|
</div>
|