Ticket #8069: ticket custom user list-trac0.11.3.patch
| File ticket custom user list-trac0.11.3.patch, 709 bytes (added by Zachary Bedell <zbedell@…>, 3 years ago) |
|---|
-
trac/ticket/api.py
diff -ruw Trac-0.11.3-orig/trac/ticket/api.py Trac-0.11.3/trac/ticket/api.py
old new 307 307 'value': config.get(name + '.value', '') 308 308 } 309 309 if field['type'] == 'select' or field['type'] == 'radio': 310 if config.get(name + ".options") == "$userlist": 311 self.eventually_restrict_owner(field, None) 312 else: 310 313 field['options'] = config.getlist(name + '.options', sep='|') 311 314 if '' in field['options']: 312 315 field['optional'] = True
