From 701980aa33e2bd77e5bc3ef71ee8941e99e9724f Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 7 Jan 2026 10:27:29 +0000 Subject: [PATCH] Bug 41536: Move 'Edit request' button to after backend actions buttons This ensures that the 'Confirm request' will always be the first button in the toolbar. Test plan: 1) Apply patch (skip this if sandbox) 2) Enable the ILLModule sys pref 3) Create a new request, visit: /cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard 4) Add any type, '42' as cardnumber, any library. Click 'Create'. 5) Notice the 'Confirm request' button is shown first, and with the 'primary button' styling. --- .../intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index aab07cdd241..02fd4a14321 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -513,10 +513,6 @@

Manage ILL request [% request.id_prefix _ request.illrequest_id | html %]

- - - Edit request - [% FOREACH action IN request.available_actions %] [% needs_prefs = action.needs_prefs.size ? action.needs_prefs : [] %] [% needs_perms = action.needs_perms.size ? action.needs_perms : [] %] @@ -600,6 +596,10 @@ [% END %] [% END %] + + + Edit request + [% IF request.borrowernumber %]