Changes between Version 9 and Version 10 of WikiTableMacro


Ignore:
Timestamp:
Dec 26, 2010, 1:50:09 PM (4 years ago)
Author:
anonymous
Comment:

change delimitor so that it doesn't conflict with string concatenation

Legend:

Unmodified
Added
Removed
Modified
  • WikiTableMacro

    v9 v10  
    6666{{{
    6767    def render_macro(self, req, name, content):
    68 +        c = content.split("|")
     68+        c = content.split("|;|")
    6969+        content = c[0]
    7070+        if len(c) > 1 :
     
    8585        UNION
    8686        SELECT "b", count($id) as 'Number of Tickets'
    87         FROM ticket|$id=id
     87        FROM ticket|;|$id=id
    8888    }}}
    8989}}}