Make sure that all builder methods that use session sare set to be lazy.
This commit is contained in:
parent
9f06085054
commit
d1572c4257
5 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue