Commit b90959df authored by Alexandre Morin's avatar Alexandre Morin
Browse files

Merge branch 'feature/9306-lastModificationDate' into 'develop'

Add timestamp of setStatus function

See merge request maarch/thirdPartyArchiving!60
parents a7e4b08d 7a44dd80
......@@ -65,6 +65,8 @@ class archive extends \bundle\recordsManagement\Controller\archive
} else {
$archiveStatus->status = $status;
$archiveStatus->lastModificationDate = \laabs::newTimestamp();
$childrenArchives = $this->sdoFactory->index('recordsManagement/archive', "archiveId", "parentArchiveId = '$archiveId'");
$this->setStatus($childrenArchives, $status);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment