Show More
@@ -110,8 +110,7 b' def file(web, req, tmpl):' | |||||
110 |
|
110 | |||
111 | def _search(web, req, tmpl): |
|
111 | def _search(web, req, tmpl): | |
112 |
|
112 | |||
113 | def changelist(**map): |
|
113 | def keywordsearch(): | |
114 | count = 0 |
|
|||
115 | lower = encoding.lower |
|
114 | lower = encoding.lower | |
116 | qw = lower(query).split() |
|
115 | qw = lower(query).split() | |
117 |
|
116 | |||
@@ -137,6 +136,12 b' def _search(web, req, tmpl):' | |||||
137 | if miss: |
|
136 | if miss: | |
138 | continue |
|
137 | continue | |
139 |
|
138 | |||
|
139 | yield ctx | |||
|
140 | ||||
|
141 | def changelist(**map): | |||
|
142 | count = 0 | |||
|
143 | ||||
|
144 | for ctx in keywordsearch(): | |||
140 | count += 1 |
|
145 | count += 1 | |
141 | n = ctx.node() |
|
146 | n = ctx.node() | |
142 | showtags = webutil.showtag(web.repo, tmpl, 'changelogtag', n) |
|
147 | showtags = webutil.showtag(web.repo, tmpl, 'changelogtag', n) |
General Comments 0
You need to be logged in to leave comments.
Login now