We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52cb1a0 commit a8387d2Copy full SHA for a8387d2
app/code/Magento/MediaGallery/Model/Keyword/Command/GetAssetKeywords.php
@@ -67,10 +67,11 @@ public function execute(int $assetId): array
67
{
68
try {
69
$connection = $this->resourceConnection->getConnection();
70
+ $tableAssetKeyword = $this->resourceConnection->getTableName(self::TABLE_ASSET_KEYWORD);
71
72
$select = $connection->select()
73
->from(['k' => $this->resourceConnection->getTableName(self::TABLE_KEYWORD)])
- ->join(['ak' => self::TABLE_ASSET_KEYWORD], 'k.id = ak.keyword_id')
74
+ ->join(['ak' => $tableAssetKeyword], 'k.id = ak.keyword_id')
75
->where('ak.asset_id = ?', $assetId);
76
$data = $connection->query($select)->fetchAll();
77
0 commit comments