misc: fix documentation string ref in journal search engine

This commit is contained in:
Paul Marillonnet 2021-03-18 15:13:13 +01:00
parent e15dd60dba
commit abd83be722
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ You can use <tt>event:login</tt> to find all events of type <tt>login</tt>.'''
users = User.objects.filter(email__iexact=email.lower())
yield (self.query_for_users(users) | Q(data__email__iexact=email.lower()))
search_by_event.documentation = _(
search_by_email.documentation = _(
'''\
You can use <tt>email:john.doe@example.com</tt> to find all events related \
to users with this email address.</tt>.'''