diff --git a/src/BackendBehaviors.php b/src/BackendBehaviors.php index e647143..fe603a3 100644 --- a/src/BackendBehaviors.php +++ b/src/BackendBehaviors.php @@ -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',