Skip to content

Commit ce782ee

Browse files
spoonerWebdkd-kaehm
authored andcommitted
[BUGFIX] Add record to index queue when published
Closes: #3718 [TASK] Remove "swap" action as "publish" is only one
1 parent c4ad9fc commit ce782ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/IndexQueue/RecordMonitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function processCmdmap_postProcess(
9898

9999
// track publish / swap events for records (workspace support)
100100
// command "version"
101-
if ($command === 'version' && $value['action'] === 'swap') {
101+
if ($command === 'version' && $value['action'] === 'publish') {
102102
$this->eventDispatcher->dispatch(
103103
new VersionSwappedEvent($uid, $table),
104104
);

0 commit comments

Comments
 (0)