Modify ↓
Opened 15 years ago
Closed 15 years ago
#6613 closed defect (fixed)
Recognizing of ticket numbers is wrong
Reported by: | cendalc | Owned by: | David Francos Cuartero |
---|---|---|---|
Priority: | normal | Component: | TicketBackLinksMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
For example, this ticket number link is not recognized: (#23)
Here is a patch to recognize it (line 47 of macro.py
):
sql += 'AND ( w1.text LIKE \'%%[ticket:%s]%%\' ' % thispage sql += 'OR (w1.text LIKE \'%%#%s%%\' )' % thispage sql += 'AND w1.text NOT LIKE \'%%#%s0%%\'' % thispage sql += 'AND w1.text NOT LIKE \'%%#%s1%%\'' % thispage sql += 'AND w1.text NOT LIKE \'%%#%s2%%\'' % thispage sql += 'AND w1.text NOT LIKE \'%%#%s3%%\'' % thispage sql += 'AND w1.text NOT LIKE \'%%#%s4%%\'' % thispage sql += 'AND w1.text NOT LIKE \'%%#%s5%%\'' % thispage sql += 'AND w1.text NOT LIKE \'%%#%s6%%\'' % thispage sql += 'AND w1.text NOT LIKE \'%%#%s7%%\'' % thispage sql += 'AND w1.text NOT LIKE \'%%#%s8%%\'' % thispage sql += 'AND w1.text NOT LIKE \'%%#%s9%%\' )' % thispage
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by
Owner: | changed from Trap to David Francos Cuartero |
---|
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.