Bug 32786: Display admin header on curbside pickup admin
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 6 Feb 2023 15:39:02 +0000 (16:39 +0100)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Wed, 8 Feb 2023 16:32:43 +0000 (16:32 +0000)
Most other administration pages (those that don't have specific searches)
are set by default on system preferences search.

Test plan:
Go to admin > Curbside pickup
Confirm that the syspref search is displayed in the header

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 848022352fb3c80eeb4a03b4dcc89e20fecf5724)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt

index f4597d8..cac1c85 100644 (file)
@@ -20,8 +20,9 @@
 </head>
 
 <body id="admin_curbside_pickup" class="admin">
-[% INCLUDE 'header.inc' %]
-[% INCLUDE 'cities-admin-search.inc' %]
+[% WRAPPER 'header.inc' %]
+    [% INCLUDE 'prefs-admin-search.inc' %]
+[% END %]
 
 [% USE format_minutes = format('%02d') %]
 [% MACRO minutes_format BLOCK %][% IF m != "" %][% format_minutes(m) | html %][% END %][% END %]