Changes between Version 2 and Version 3 of TracTicketsCustomFields


Ignore:
Timestamp:
09/01/12 10:21:30 (18 months ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracTicketsCustomFields

    v2 v3  
    1818   * value: Default value. 
    1919   * 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'') 
    2021 * '''checkbox''': A boolean value check box. 
    2122   * label: Descriptive label. 
     
    3839   * rows: Height in lines. 
    3940   * order: Sort order placement. 
     41   * format: Either `plain` for plain text or `wiki` to interpret the content as WikiFormatting. (''since 0.11.3'') 
    4042 
    4143=== Sample Config === 
     
    4850test_two = text 
    4951test_two.label = Another text-box 
    50 test_two.value = Just a default value 
     52test_two.value = Default [mailto:joe@nospam.com owner] 
     53test_two.format = wiki 
    5154 
    5255test_three = checkbox 
     
    115118INSERT INTO ticket_custom 
    116119   (ticket, name, value) 
    117    SELECT 
     120   SELECT  
    118121      id AS ticket, 
    119122      'request_source' AS name, 
    120123      'None' AS value 
    121    FROM ticket 
     124   FROM ticket  
    122125   WHERE id NOT IN ( 
    123126      SELECT ticket FROM ticket_custom 
     
    131134INSERT INTO ticket_custom 
    132135   (ticket, name, value) 
    133    SELECT 
     136   SELECT  
    134137      id AS ticket, 
    135138      'request_source' AS name, 
    136139      'None' AS value 
    137    FROM ticket 
     140   FROM ticket  
    138141   WHERE id NOT IN ( 
    139142      SELECT ticket FROM ticket_custom WHERE name = 'request_source'