Store: Ignore whitespace before and after search location.

This commit is contained in:
John Schember 2011-07-04 15:14:29 -04:00
parent 00efad21a3
commit ae3894de1e

View file

@ -294,6 +294,7 @@ def universal_set(self):
return self.srs
def get_matches(self, location, query):
query = query.strip()
location = location.lower().strip()
if location == 'authors':
location = 'author'