Skip to content

Commit 8d3a722

Browse files
authored
Merge pull request #156 from ovenum/patch-2
2 parents 2d6ccd8 + e223494 commit 8d3a722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blueprints/fields/og-image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
'type' => 'files',
99
'multiple' => false,
1010
'uploads' => [],
11-
'query' => Str::contains($kirby->path(), '/site') && !Str::contains($kirby->path(), 'pages') ? 'site.images' : 'page.images' // small hack to get context for field using api path
11+
'query' => 'model.images'
1212
];
1313

1414
if ($parent = option('tobimori.seo.files.parent')) {

0 commit comments

Comments
 (0)