fix callback

This commit is contained in:
Jean-Christian Paul Denis 2023-05-09 01:21:46 +02:00
parent a487e89601
commit 9df73d4f45
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -68,7 +68,7 @@ class BackendBehaviors
__('Select the template') => 'tpl', __('Select the template') => 'tpl',
], ],
], ],
['templatorBehaviors', 'adminPostsActionsCallback'] [self::class, 'adminPostsActionsCallback']
); );
} }
@ -125,7 +125,7 @@ class BackendBehaviors
public static function adminFiltersListsV2(ArrayObject $sorts): void public static function adminFiltersListsV2(ArrayObject $sorts): void
{ {
$sorts['templator'] = [ $sorts[My::id()] = [
__('Templates engine'), __('Templates engine'),
[ [
__('Date') => 'post_upddt', __('Date') => 'post_upddt',