Modify

Opened 7 years ago

Closed 7 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 7 years ago by anonymous

Owner: changed from Trap to David Francos Cuartero

comment:2 Changed 7 years ago by anonymous

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain David Francos Cuartero.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.