mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 23:17:17 +02:00
Fix to paging with aliases.
This commit is contained in:
parent
e7f8b901ce
commit
e94601dd7b
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ def alias_search(searcher, ostring):
|
|||
"""
|
||||
search_query = ''.join(ostring)
|
||||
results = Attribute.objects.select_related().filter(attr_value__iexact=ostring)
|
||||
return [prospect.object for prospect in results if prospect.object.is_player()]
|
||||
return [prospect.get_object() for prospect in results if prospect.get_object().is_player()]
|
||||
|
||||
def local_and_global_search(searcher, ostring, search_contents=True, search_location=True, dbref_only=False, limit_types=False):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue