Mercurial > public > src > rhodecode
comparison pylons_app/controllers/summary.py @ 439:b153a51b1d3b
Implemented search using whoosh. Still as experimental option.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 17 Aug 2010 23:15:36 +0200 |
parents | 6a506a7acd1a |
children | 9a7ae16ff53e |
comparison
equal
deleted
inserted
replaced
438:bec06654d67b | 439:b153a51b1d3b |
---|---|
111 d += tmpl0 % (author.decode('utf8'), | 111 d += tmpl0 % (author.decode('utf8'), |
112 tmpl1 \ | 112 tmpl1 \ |
113 % (author.decode('utf8'), | 113 % (author.decode('utf8'), |
114 [[x, aggregate[author][x]] for x in aggregate[author]])) | 114 [[x, aggregate[author][x]] for x in aggregate[author]])) |
115 if d == '': | 115 if d == '': |
116 d = '"%s":{label:"%s",data:[[0,0],]}' \ | 116 d = '"%s":{label:"%s",data:[[0,1],]}' \ |
117 % (author_key_cleaner(repo.contact), | 117 % (author_key_cleaner(repo.contact), |
118 author_key_cleaner(repo.contact)) | 118 author_key_cleaner(repo.contact)) |
119 return d | 119 return d |
120 | 120 |
121 | 121 |