More attribute-related fixes from our db restructuring.
This commit is contained in:
parent
5384bed052
commit
e91b584219
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ def alias_search(searcher, ostring):
|
||||||
ostring: (string) The alias string to search for.
|
ostring: (string) The alias string to search for.
|
||||||
"""
|
"""
|
||||||
search_query = ''.join(ostring)
|
search_query = ''.join(ostring)
|
||||||
results = Attribute.objects.select_related().filter(value__iexact=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.object for prospect in results if prospect.object.is_player()]
|
||||||
|
|
||||||
def local_and_global_search(searcher, ostring, search_contents=True, search_location=True, dbref_only=False, limit_types=False):
|
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