Skip to content

Commit

Permalink
Merge pull request #151 from stefankoegl/fix-search
Browse files Browse the repository at this point in the history
fix Database.search()
  • Loading branch information
benoitc committed Feb 9, 2013
2 parents 611897f + 69f63fe commit 37f0ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion couchdbkit/client.py
Expand Up @@ -739,7 +739,7 @@ def temp_view(self, design, schema=None, wrapper=None, **params):
def search( self, view_name, handler='_fti/_design', wrapper=None, schema=None, **params):
""" Search. Return results from search. Use couchdb-lucene
with its default settings by default."""
return ViewResults(self, self.raw_view,
return ViewResults(self.raw_view,
"/%s/%s" % (handler, view_name),
wrapper=wrapper, schema=schema, params=params)

Expand Down

0 comments on commit 37f0ce0

Please sign in to comment.