Permalink
Browse files

Bug fixed: Rare condition of sorting filtered issues could cause a

TypeError.
  • Loading branch information...
1 parent 0a21df7 commit 8d4ff2a548d0bec4aafc227f93e8f4424bb83431 @peterbe committed Apr 8, 2011
Showing with 15 additions and 9 deletions.
  1. +10 −5 IssueTrackerProduct/CHANGES.txt
  2. +5 −4 IssueTrackerProduct/IssueTracker.py
View
15 IssueTrackerProduct/CHANGES.txt
@@ -1,15 +1,20 @@
+- 0.13.1
+
+ Bug fixed: Rare condition of sorting filtered issues could cause a
+ TypeError.
+
- 0.13.0
- Bug fixed: Saved filter cookies were saved with just the ID of the
+ Bug fixed: Saved filter cookies were saved with just the ID of the
issuetracker instance which could cause conflicts on different
issuetrackers under the same ID.
-
+
Bug fixed: Issue duplication check with brackets or quotation
marks could cause a ParseError due to ZCatalog search.
-
+
New feature: Ability to edit actual time per followup if you're
- manager or author.
-
+ manager or author.
+
Bug fixed: Thread default actual_time_hours to 0.0 so you can use
the ZMI property sheet to update it.
View
9 IssueTrackerProduct/IssueTracker.py
@@ -8813,10 +8813,11 @@ def _sortIssues(self, issues, request):
'submittedby':'fromname',
}
- issues = self._dosort(issues,
- _translations.get(sortorder, sortorder))
- if do_reverse:
- issues.reverse()
+ if issues:
+ issues = self._dosort(issues,
+ _translations.get(sortorder, sortorder))
+ if do_reverse:
+ issues.reverse()
if keep_sortorder:
self.set_session(session_key, sortorder)

0 comments on commit 8d4ff2a

Please sign in to comment.