Bug 34075: (follow-up) Fixes for QA tool errors
- Added missing filter to template variable - Correct spelling in atomicupdate Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
537132da7b
commit
6247cd9b5e
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ return {
|
|||
my ($dbh, $out) = @$args{qw(dbh out)};
|
||||
$dbh->do(q{
|
||||
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
|
||||
('DefaultAuthorityTab','0','0|1|2|3|4|5|6|7|8|9','Default tab to shwo when displaying authorities','Choice')
|
||||
('DefaultAuthorityTab','0','0|1|2|3|4|5|6|7|8|9','Default tab to show when displaying authorities','Choice')
|
||||
});
|
||||
say $out "Added new system preference 'DefaultAuthorityTab'";
|
||||
},
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
if( $("#authoritiestabs .tab-pane.active").length < 1 ){
|
||||
[% SET DefaultAuthorityTab = Koha.Preference('DefaultAuthorityTab') %]
|
||||
[% IF DefaultAuthorityTab %]
|
||||
let default_tab = "#tab" + [% DefaultAuthorityTab %] + "XX-tab";
|
||||
let default_tab = "#tab" + [% DefaultAuthorityTab | html %] + "XX-tab";
|
||||
let tab_object = $("#authoritiestabs "+default_tab)
|
||||
if( tab_object.length > 0 ){
|
||||
tab_object.tab("show");
|
||||
|
|
Loading…
Reference in a new issue