From 742eb4eccc36fdea5177eb3655b117cc853a2b37 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 6 Feb 2024 14:37:46 +0000 Subject: [PATCH] Bug 35972: Tidy for QA scripts --- C4/CourseReserves.pm | 18 +++++++++--------- .../bootstrap/en/includes/masthead.inc | 6 +++--- opac/opac-thesis-table-details.pl | 7 ++++--- opac/opac-thesis-tables.pl | 5 +++-- 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/C4/CourseReserves.pm b/C4/CourseReserves.pm index b9f33ba0c62..889f4708c19 100644 --- a/C4/CourseReserves.pm +++ b/C4/CourseReserves.pm @@ -1013,7 +1013,7 @@ sub SearchCourses { my $term = $params{'term'}; - my $enabled = $params{'enabled'} || '%'; + my $enabled = $params{'enabled'} || '%'; my $thesis_table = $params{'thesis_table'} || 'no'; my @params; @@ -1046,15 +1046,15 @@ sub SearchCourses { "; if ( $thesis_table eq 'no' ) { - $query .= " - AND - c.department != 'TT' - "; + $query .= " + AND + c.department != 'TT' + "; } else { - $query .= " - AND - c.department = 'TT' - "; + $query .= " + AND + c.department = 'TT' + "; } $query .= " diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index fecd7d2fe59..57199955ab2 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -320,9 +320,9 @@ - + [% END %] [% IF Koha.Preference( 'OpacBrowser' ) == 1 %]