[rt-devel] Extending rt3

Jonas Lincoln lincoln at unit.liu.se
Wed Jun 18 02:35:08 EDT 2003


In that case, I want one of the options to be preselected (default). Is 
this possible with custom fields?

Jesse Vincent wrote:
> Why not use a custom field?
> 
> 
> On Tue, Jun 17, 2003 at 04:28:25PM +0200, Jonas Lincoln wrote:
> 
>>I want to extend rt3-Tickets with a property "Interesting", bit.
>>
>>Is the correct way to do it to
>>a) alter table Tickets ...
>>b) create Ticket_Local.pm, which overloads methods
>>	Create
>>		Interesting => '1',
>>		...
>>		Interesting => $args{'Interesting'},
>>	_Classaccessible
>>	        Interesting => {read => 1, write => 1, type => 
>>	        'smallint(6)', default => '1'},
>>c) Add a LimitInteresting to Tickets_Local.pm et al.
>>
>>Anything more I should look out for?
>>
>>/Jonas
>>
>>_______________________________________________
>>rt-devel mailing list
>>rt-devel at lists.fsck.com
>>http://lists.fsck.com/mailman/listinfo/rt-devel
>>
> 
> 




More information about the Rt-devel mailing list