Lines 37-43
my $nb_of_shortcuts = Koha::KeyboardShortcuts->search->count;
Link Here
|
37 |
my $shortcut_hash = { |
37 |
my $shortcut_hash = { |
38 |
shortcut_name => 'this_cut', |
38 |
shortcut_name => 'this_cut', |
39 |
shortcut_keys => 'Ctrl-D', |
39 |
shortcut_keys => 'Ctrl-D', |
40 |
shortcut_desc => 'DOES_THE_THING' |
|
|
41 |
}; |
40 |
}; |
42 |
|
41 |
|
43 |
my $new_shortcut = Koha::KeyboardShortcut->new($shortcut_hash)->store; |
42 |
my $new_shortcut = Koha::KeyboardShortcut->new($shortcut_hash)->store; |
44 |
- |
|
|