Fixed and debugged object_search to more generically search for any attribute name except 'key' (issue110). Also included alias-search as a last-resort if normal searches fail. This is now also working for global searches (issue106).

This commit is contained in:
Griatch 2010-09-12 15:07:12 +00:00
parent 7e736d19e2
commit 8bedd4d793
5 changed files with 184 additions and 176 deletions

View file

@ -418,8 +418,8 @@ class ObjectDB(TypedObject):
(if None, uses default 'name')
use_nicks : Use nickname replace (off by default)
ignore_errors : Don't display any error messages even
if there are none/multiple matches -
just return the result as a list.
if there are none/multiple matches -
just return the result as a list.
Note - for multiple matches, the engine accepts a number
linked to the key in order to separate the matches from