Navigation Menu

Skip to content

Commit

Permalink
return more search results so that Django can empaginatefy
Browse files Browse the repository at this point in the history
  • Loading branch information
rodbegbie committed Jan 3, 2011
1 parent 1550586 commit 7790ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/threequarters/blog/search.py
Expand Up @@ -32,7 +32,7 @@ def search(self, term):

parser = MultifieldParser(("body", "title", "tags"), schema = self.schema)
query = parser.parse(term)
results = self.searcher.search(query)#, sortedby="date", reverse=True)
results = self.searcher.search(query, limit=100)#, sortedby="date", reverse=True)
return results

def add_blogitem(self, item):
Expand Down

0 comments on commit 7790ef8

Please sign in to comment.