Make sure that all builder methods that use session sare set to be lazy.

This commit is contained in:
Colin Kuskie 2010-02-05 15:41:01 -08:00
parent 9f06085054
commit d1572c4257
5 changed files with 8 additions and 0 deletions

View file

@ -41,11 +41,13 @@ property startDate => (
label => ['start date', 'Asset_Event'],
fieldType => "Date",
builder => '_defaultMysqlDate',
lazy => 1,
);
property endDate => (
label => ['end date', 'Asset_Event'],
fieldType => "Date",
builder => '_defaultMysqlDate',
lazy => 1,
);
sub _defaultMysqlDate {
my $self = shift;