Edgewall Software

Changes between Initial Version and Version 1 of Ticket #12286


Ignore:
Timestamp:
Dec 19, 2015, 3:25:54 AM (5 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12286 – Description

    initial v1  
    2020{{{#!diff
    2121diff --git a/trac/ticket/query.py b/trac/ticket/query.py
    22 index 9b09fa7..6ef8d31 100644
     22index 9b09fa7..8cf765d 100644
    2323--- a/trac/ticket/query.py
    2424+++ b/trac/ticket/query.py
     
    3131 
    3232 
    33 @@ -1382,7 +1383,10 @@ class TicketQueryMacro(WikiMacroBase):
     33@@ -1382,7 +1383,11 @@ class TicketQueryMacro(WikiMacroBase):
    3434                              cnt, query=query_string)
    3535             return tag.span(cnt, title=title, class_='query_count')
     
    3939+            tickets = query.execute(req)
    4040+        except QueryValueError, e:
    41 +            return system_message(e)
     41+            self.log.warn(e)
     42+            return system_message(_("Error executing TicketQuery macro"), e)
    4243 
    4344         if format == 'table':