+
+ [%# We need to keep track of the bug IDs we are actually displaying, because
+ # if the user decides to sort the visible list, we need to know what that
+ # list actually is. %]
+ [% vis_bug_ids = [] %]
+
+ [% FOREACH bug = bugs %]
+ [% LAST IF loop.index() >= maxrows %]
+ [% vis_bug_ids.push(bug.id) %]
+
+
+
+
+ [% isclosed = bug.resolution != "" %]
+ [% bug.id FILTER closed(isclosed) %]
+
+ |
+
+
+
+ [% bug.count %]
+
+ |
+
+ [% IF dobefore %]
+ [% bug.delta %] |
+ [% END %]
+
+ [% bug.component FILTER html %] |
+ [% bug.bug_severity FILTER html %] |
+ [% bug.op_sys FILTER html %] |
+ [% bug.target_milestone FILTER html %] |
+ [% bug.short_desc FILTER html %] |
+
[% END %]
-
-
- [% IF NOT sortby %]
- [% sortby = "count"; reverse = "1" %]
- [% END %]
-
- [% IF sortby == "id" OR sortby == "count" OR sortby == "delta" %]
- [%# Numeric sort %]
- [% sortedbugs = bugs.nsort(sortby) %]
- [% ELSE %]
- [% sortedbugs = bugs.sort(sortby) %]
- [% END %]
-
- [% IF reverse %]
- [% bugs = sortedbugs.reverse %]
- [% ELSE %]
- [% bugs = sortedbugs %]
- [% END %]
-
- [%# *** Buglist *** %]
-
- [%# We need to keep track of the bug IDs we are actually displaying, because
- # if the user decides to sort the visible list, we need to know what that
- # list actually is. %]
- [% vis_bug_ids = [] %]
-
- [% FOREACH bug = bugs %]
- [% LAST IF loop.index() >= maxrows %]
- [% vis_bug_ids.push(bug.id) %]
-
-
-
-
- [% isclosed = bug.resolution != "" %]
- [% bug.id FILTER closed(isclosed) %]
-
- |
-
-
-
- [% bug.count %]
-
- |
-
- [% IF dobefore %]
- [% bug.delta %] |
- [% END %]
-
- [% bug.component FILTER html %] |
- [% bug.bug_severity FILTER html %] |
- [% bug.op_sys FILTER html %] |
- [% bug.target_milestone FILTER html %] |
- [% bug.short_desc FILTER html %] |
-
- [% END %]
-
+