Changeset 3703

Show
Ignore:
Timestamp:
05/20/08 15:05:22 (6 months ago)
Author:
k0s
Message:

become conditional upon template name instead of path; fixes http://trac-hacks.org/ticket/3056

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • autoqueryplugin/0.11/autoquery/autoquery.py

    r3664 r3703  
    7777        (Since 0.11) 
    7878        """ 
    79         path = req.environ.get('PATH_INFO') 
    80         if path.startswith('/ticket'): 
     79        if template == 'ticket.html': 
    8180            query = self.env.href() + '/query?%s=%s' + self.query_args 
    8281            data['query_link'] = lambda x, y: query % (x, urllib.quote_plus(y))