Roundup Tracker - Issues

Message5062

Author schlatterbeck
Recipients ber, r.david.murray, schlatterbeck, tekberg
Date 2014-04-02.16:02:41
Message-id <1396454561.57.0.249987148866.issue2550834@psf.upfronthosting.co.za>
In-reply-to
Oops, I see the code in the test is too optimized to cut&paste for a test.
To test against your database with a date value containing multilinks
you want to do something along the lines of
 
import sys
import os
from roundup import date, instance

dir     = os.getcwd ()
tracker = instance.open (dir)
db      = tracker.open ('admin')

print db.issue.filter (None, {}, ('+','id'), ('+', 'deadline'))

This groups by the date attribute "deadline" which you want to change if
your date attribute is named differently.
History
Date User Action Args
2014-04-02 16:02:41schlatterbecksetmessageid: <1396454561.57.0.249987148866.issue2550834@psf.upfronthosting.co.za>
2014-04-02 16:02:41schlatterbecksetrecipients: + schlatterbeck, ber, tekberg, r.david.murray
2014-04-02 16:02:41schlatterbecklinkissue2550834 messages
2014-04-02 16:02:41schlatterbeckcreate