mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 13:07:16 +02:00
Fixed a trace from ev.search_help_entry
This commit is contained in:
parent
1e5b52f685
commit
66ced94b58
1 changed files with 3 additions and 3 deletions
|
|
@ -91,7 +91,7 @@ class HelpEntryManager(models.Manager):
|
|||
category - limit the search to a particular help topic
|
||||
"""
|
||||
ostring = ostring.strip().lower()
|
||||
if help_categories:
|
||||
return self.filter(db_topicstr__iexact=ostring, db_help_category__iexact=help_category)
|
||||
if help_category:
|
||||
return self.filter(db_key__iexact=ostring, db_help_category__iexact=help_category)
|
||||
else:
|
||||
return self.filter(db_topicstr__iexact=ostring)
|
||||
return self.filter(db_key__iexact=ostring)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue