[Tracker-discuss] [issue329] "Your Issues" list is empty

Daniel Diniz metatracker at psf.upfronthosting.co.za
Wed Mar 31 09:09:53 CEST 2010


Daniel Diniz <ajaksu at gmail.com> added the comment:

Adding some context for when this gets done :)

The "Your Issues" page is just a issue list with a custom title, so
pagination comes free.

The URL is in this format:
 http://bugs.python.org/issue?[status and sort]
&@dispname=Your%20Issues
&[...]
&@filter=status,assignee[...
]&assignee=[User ID]

So you can set the 'no issues' message in the link.

The link is generated in page.html by this code:
    <ul class="level-three">
    <li>
    <a href="#"
       tal:attributes="href python:request.indexargs_url('issue', {
      '@sort': '-activity',
      '@group': 'priority',
      '@filter': 'status,assignee',
      '@columns': 'id,activity,title,creator,status',
      '@search_text': '',
      'status': status_notresolved,
      'assignee': request.user.id,
      '@dispname': i18n.gettext('Your Issues'),
      '@startwith': 0,
     })"
    i18n:translate="">Your Issues</a>
    </li>

So the easiest way to get all three listings would be to add the two
other as links (copy and paste, filter on creator and nosy instead of
assignee). Hide what is currently 'Your Issues' from non-Developers
and figure three neat names for these reports and we're set.

Making 'Your Issues' a special page that links to the different
reports (or a default query) is doable, just a bit more involved.

_______________________________________________________
PSF Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue329>
_______________________________________________________


More information about the Tracker-discuss mailing list