Custom queries broken when using "contains" with a multi-select custom field
|Reported by:||jbeilicke||Owned by:||cmc|
Attached please find a modified version of the original patch that fixes the mentioned issue in Trac 0.12. The bug in ticket/query.py line 545 lead to wrong database results, due to a pipe right before the last percentage:
value = '%' + value + '|%'
value = '%' + value + '%'
Change History (5)
Changed 5 years ago by jbeilicke
comment:1 follow-up: ↓ 2 Changed 5 years ago by cmc
- Resolution set to invalid
- Status changed from new to closed