Skip to content

Commit

Permalink
Merge branch 'develop-craft4'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmenich committed Oct 8, 2024
2 parents cf58b95 + e345a16 commit 56ab7a2
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/jobs/ShowEntriesSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,16 +188,10 @@ public function execute( $queue ): void
}
break;
case 'description_long':
// Only if new entry add description
if( !$existingEntry ) {
$defaultFields[ SynchronizeHelper::getApiField( $apiField, 'showApiColumnFields' ) ] = $showAttributes->description_long;
}
$defaultFields[ SynchronizeHelper::getApiField( $apiField, 'showApiColumnFields' ) ] = $showAttributes->description_long;
break;
case 'description_short':
// Only if new entry add description
if( !$existingEntry ) {
$defaultFields[ SynchronizeHelper::getApiField( $apiField, 'showApiColumnFields' ) ] = $showAttributes->description_short;
}
$defaultFields[ SynchronizeHelper::getApiField( $apiField, 'showApiColumnFields' ) ] = $showAttributes->description_short;
break;
case 'premiered_on':
if( $showAttributes->premiered_on != null) {
Expand Down

0 comments on commit 56ab7a2

Please sign in to comment.