fix callback

This commit is contained in:
Jean-Christian 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',
],
],
['templatorBehaviors', 'adminPostsActionsCallback']
[self::class, 'adminPostsActionsCallback']
);
}
@ -125,7 +125,7 @@ class BackendBehaviors
public static function adminFiltersListsV2(ArrayObject $sorts): void
{
$sorts['templator'] = [
$sorts[My::id()] = [
__('Templates engine'),
[
__('Date') => 'post_upddt',