fix: adjust default gallery search to new search format

This commit is contained in:
David Bailey 2025-01-06 22:40:15 +01:00
parent 7c8d0191d2
commit 2fe4d20187

View file

@ -121,8 +121,10 @@ class Post implements ArrayAccess {
if($data['type'] == 'gallery') {
$data['search'] ??= [
'+path:' . $data['path'] . '/*',
'+type:image'
'path' => $data['path'],
'tags' => [
'+type:image'
]
];
}