fixed asset search query.
moved location_to_son to LocationBase.py.