Switch to side-by-side view
--- a/ForgeTracker/forgetracker/model/ticket.py +++ b/ForgeTracker/forgetracker/model/ticket.py @@ -39,6 +39,10 @@ update={'$inc': { 'last_ticket_num': 1}}, new=True) return g.last_ticket_num+1 + + @classmethod + def for_current_tracker(cls): + return cls.query.get(app_config_id=c.app.config._id) class TicketHistory(Snapshot):