diff --git a/Classes/IndexQueue/RecordMonitor.php b/Classes/IndexQueue/RecordMonitor.php index f72aa0fb2..771dc19f1 100644 --- a/Classes/IndexQueue/RecordMonitor.php +++ b/Classes/IndexQueue/RecordMonitor.php @@ -98,7 +98,7 @@ public function processCmdmap_postProcess( // track publish / swap events for records (workspace support) // command "version" - if ($command === 'version' && $value['action'] === 'swap') { + if ($command === 'version' && ($value['action'] === 'publish' || $value['action'] === 'swap')) { $this->eventDispatcher->dispatch( new VersionSwappedEvent($uid, $table), );