allura
Revisão | 728af41450f7841d4e344e2eaa26bbfc3078b250 (tree) |
---|---|
Hora | 2012-07-09 22:08:25 |
Autor | Yaroslav Luzin <jardev@gmai...> |
Commiter | Yaroslav Luzin |
Merge branch '42cc_4481' into t103_Show_the_votes_total
Conflicts:
ForgeTracker/forgetracker/model/ticket.py
@@ -276,8 +276,11 @@ class Ticket(VersionedArtifact, ActivityObject, VotableArtifact): | ||
276 | 276 | milestone_s=self.milestone, |
277 | 277 | status_s=self.status, |
278 | 278 | text=self.description, |
279 | - votes_i=self.votes, | |
280 | - snippet_s=self.summary) | |
279 | + snippet_s=self.summary, | |
280 | + votes_up_i=self.votes_up, | |
281 | + votes_down_i=self.votes_down, | |
282 | + votes_total_i=self.votes) | |
283 | + | |
281 | 284 | for k,v in self.custom_fields.iteritems(): |
282 | 285 | result[k + '_s'] = unicode(v) |
283 | 286 | if self.reported_by: |
@@ -84,6 +84,8 @@ class SearchHelp(ffw.Lightbox): | ||
84 | 84 | <li>User who created the ticket - reported_by_s</li> |
85 | 85 | <li>Status of the ticket - status</li> |
86 | 86 | <li>Title of the ticket - summary</li> |
87 | +<li>Votes up/down of the ticket - votes_up/votes_down</li> | |
88 | +<li>Votes total of the ticket - votes_total</li> | |
87 | 89 | <li>Custom field - the field name with an underscore in front like _custom</li> |
88 | 90 | </ul> |
89 | 91 | <h2>Example searches</h2> |