Skip to content

Commit

Permalink
Merge pull request #1 from Maksold/patch-1
Browse files Browse the repository at this point in the history
Fix Unknown column 'ent.row_id' for M2.3
  • Loading branch information
Maksold authored Feb 9, 2021
2 parents 4bc107a + 0f88590 commit 36df60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Command/CatalogAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ protected function getOrphanedMediaGalleryPaths($useCache = true)
)
->reset(Select::COLUMNS)
->columns('value')
->where('ent.row_id IS NULL');
->where('ent.entity_id IS NULL');
$this->orphanedMediaGalleryPaths = $connection->fetchCol($select);
//add the directory path to each value because the DB only stores the path relative to the media directory
$mediaDirectoryPath = $this->getMediaDirectoryPath();
Expand Down

0 comments on commit 36df60e

Please sign in to comment.