Skip to content

Commit 812025b

Browse files
committed
optimzed search author
1 parent 23cba86 commit 812025b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

por/dashboard/search.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,11 @@ def __init__(self, project, realm, id=None, score=None,
220220
oneline=None, involved=None, popularity=None, comments=None,
221221
solr_highlights=None , **kwarg):
222222
self.project = project
223-
self.author = ', '.join(author)
223+
self.author = ', '.join(author + involved)
224224
self.created = created
225-
self.involved = involved
226225
self.popularity = popularity
227226
self.comments = comments
228227
self.realm = realm
229-
self.involved = ', '.join(involved)
230228
self.solr_highlights = solr_highlights
231229
self._title = ''.join(title)
232230
self._oneline = oneline

por/dashboard/skins/search.pt

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<td><a href="${request.application_url}/${doc.href()}"
3131
tal:content="structure doc.title"></a></td>
3232
<td tal:content="structure doc.oneline"></td>
33-
<td>${doc.author}, ${doc.involved}</td>
33+
<td>${doc.author}</td>
3434
<td>${doc.score}</td>
3535
</tr>
3636
</tbody>

0 commit comments

Comments
 (0)