Changes between Version 2 and Version 3 of TracTicketsCustomFields
- Timestamp:
- 09/01/12 10:21:30 (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracTicketsCustomFields
v2 v3 18 18 * value: Default value. 19 19 * order: Sort order placement. (Determines relative placement in forms with respect to other custom fields.) 20 * format: Either `plain` for plain text or `wiki` to interpret the content as WikiFormatting. (''since 0.11.3'') 20 21 * '''checkbox''': A boolean value check box. 21 22 * label: Descriptive label. … … 38 39 * rows: Height in lines. 39 40 * order: Sort order placement. 41 * format: Either `plain` for plain text or `wiki` to interpret the content as WikiFormatting. (''since 0.11.3'') 40 42 41 43 === Sample Config === … … 48 50 test_two = text 49 51 test_two.label = Another text-box 50 test_two.value = Just a default value 52 test_two.value = Default [mailto:joe@nospam.com owner] 53 test_two.format = wiki 51 54 52 55 test_three = checkbox … … 115 118 INSERT INTO ticket_custom 116 119 (ticket, name, value) 117 SELECT 120 SELECT 118 121 id AS ticket, 119 122 'request_source' AS name, 120 123 'None' AS value 121 FROM ticket 124 FROM ticket 122 125 WHERE id NOT IN ( 123 126 SELECT ticket FROM ticket_custom … … 131 134 INSERT INTO ticket_custom 132 135 (ticket, name, value) 133 SELECT 136 SELECT 134 137 id AS ticket, 135 138 'request_source' AS name, 136 139 'None' AS value 137 FROM ticket 140 FROM ticket 138 141 WHERE id NOT IN ( 139 142 SELECT ticket FROM ticket_custom WHERE name = 'request_source'
