my $schema = Koha::Database->new->schema;
-my @keyboard_shortcuts = Koha::KeyboardShortcuts->search();
-
# Keyboard shortcuts
$template->param(
- shortcuts => \@keyboard_shortcuts,
+ shortcuts => Koha::KeyboardShortcuts->search,
);
# Available import batches