File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public function execute(array $assetIds): array
70
70
->where (self ::ASSET_ID . ' IN (?) ' , $ assetIds );
71
71
72
72
$ contentIdentities = [];
73
- foreach ($ connection ->fetchAssoc ($ select ) as $ contentIdentityData ) {
73
+ foreach ($ connection ->fetchAll ($ select ) as $ contentIdentityData ) {
74
74
$ contentIdentities [] = $ this ->factory ->create ($ contentIdentityData );
75
75
}
76
76
return $ contentIdentities ;
Original file line number Diff line number Diff line change 8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_MediaContentApi:etc/media_content.xsd" >
9
9
<search >
10
10
<patterns >
11
- <pattern name =" catalog_image" >/^\/?media\/(.*)/</pattern >
11
+ <pattern name =" catalog_image" >/^\/pub\/ ?media\/(.*)/</pattern >
12
12
</patterns >
13
13
</search >
14
- </config >
14
+ </config >
You can’t perform that action at this time.
0 commit comments