Allow to show collection elements that were deleted before by timetravel

This commit is contained in:
Jan Böhmer 2020-02-29 22:53:53 +01:00
parent b5bc096972
commit f604022e49
9 changed files with 386 additions and 78 deletions

View file

@ -102,7 +102,7 @@ class ElementDeletedLogEntry extends AbstractLogEntry implements TimeTravelInter
*/
public function hasOldDataInformations(): bool
{
return !empty($this->extra['d']);
return !empty($this->extra['o']);
}
/**
@ -110,7 +110,7 @@ class ElementDeletedLogEntry extends AbstractLogEntry implements TimeTravelInter
*/
public function getOldData(): array
{
return $this->extra['d'] ?? [];
return $this->extra['o'] ?? [];
}
/**