mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 22:47:16 +02:00
OBS:Run migrations! Changed the comms.Msg.db_title field to db_header to better reflect its use.
This commit is contained in:
parent
a4a50fdb87
commit
f3b50a20a8
5 changed files with 206 additions and 65 deletions
|
|
@ -231,7 +231,7 @@ class MsgManager(models.Manager):
|
|||
receiver_restrict = Q()
|
||||
# filter by full text
|
||||
if freetext:
|
||||
fulltext_restrict = Q(db_title__icontains=freetext) | Q(db_message__icontains=freetext)
|
||||
fulltext_restrict = Q(db_header__icontains=freetext) | Q(db_message__icontains=freetext)
|
||||
else:
|
||||
fulltext_restrict = Q()
|
||||
# execute the query
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue