• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Revisão728af41450f7841d4e344e2eaa26bbfc3078b250 (tree)
Hora2012-07-09 22:08:25
AutorYaroslav Luzin <jardev@gmai...>
CommiterYaroslav Luzin

Mensagem de Log

Merge branch '42cc_4481' into t103_Show_the_votes_total

Conflicts:
ForgeTracker/forgetracker/model/ticket.py

Mudança Sumário

Diff

--- a/ForgeTracker/forgetracker/model/ticket.py
+++ b/ForgeTracker/forgetracker/model/ticket.py
@@ -276,8 +276,11 @@ class Ticket(VersionedArtifact, ActivityObject, VotableArtifact):
276276 milestone_s=self.milestone,
277277 status_s=self.status,
278278 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+
281284 for k,v in self.custom_fields.iteritems():
282285 result[k + '_s'] = unicode(v)
283286 if self.reported_by:
--- a/ForgeTracker/forgetracker/widgets/ticket_search.py
+++ b/ForgeTracker/forgetracker/widgets/ticket_search.py
@@ -84,6 +84,8 @@ class SearchHelp(ffw.Lightbox):
8484 <li>User who created the ticket - reported_by_s</li>
8585 <li>Status of the ticket - status</li>
8686 <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>
8789 <li>Custom field - the field name with an underscore in front like _custom</li>
8890 </ul>
8991 <h2>Example searches</h2>