Bug fixes: sticky delta time and dropped 1st entry.
Make the delta time interval sticky in the form where the workflow is launched. Also, fix a bug where the first line of data is dropped because the statement handle was read twice.
This commit is contained in:
parent
92841f2bf5
commit
aa6367d459
2 changed files with 1 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ sub www_editRuleflow {
|
||||||
);
|
);
|
||||||
$f->integer(
|
$f->integer(
|
||||||
name => 'pauseInterval',
|
name => 'pauseInterval',
|
||||||
value => 300,
|
value => $session->form->get('pauseInterval') || 300,
|
||||||
label => $i18n->get('pause interval'),
|
label => $i18n->get('pause interval'),
|
||||||
hoverHelp => $i18n->get('pause interval help'),
|
hoverHelp => $i18n->get('pause interval help'),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,6 @@ sub execute {
|
||||||
else {
|
else {
|
||||||
$sth = $session->db->read($passive);
|
$sth = $session->db->read($passive);
|
||||||
my $logLine = $sth->hashRef();
|
my $logLine = $sth->hashRef();
|
||||||
$logLine = $sth->hashRef();
|
|
||||||
$lastUserId = $logLine->{userId};
|
$lastUserId = $logLine->{userId};
|
||||||
$lastSessionId = $logLine->{sessionId};
|
$lastSessionId = $logLine->{sessionId};
|
||||||
$lastTimeStamp = $logLine->{timeStamp};
|
$lastTimeStamp = $logLine->{timeStamp};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue