Permalink
Browse files

added missing else case

  • Loading branch information...
1 parent ea61211 commit 7d0f0669511988ef846ee4a308fa9adb627a1281 @delijati delijati committed Oct 14, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 sunburnt/search.py
View
@@ -90,6 +90,8 @@ def serialize_term_queries(self, terms):
tmp = [u'%s:%s' % (name, value)
for value in value_set]
s += tmp
+ else:
+ s += [self.to_query(value) for value in value_set]
return sorted(s)
def to_solr(self, value):

0 comments on commit 7d0f066

Please sign in to comment.