Bugzilla – Attachment 186895 Details for
Bug 40870
Fund code is lost when modifying an order in acquisitions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40870: Set the fund code to selected on acqui/neworderempty.pl
Bug-40870-Set-the-fund-code-to-selected-on-acquine.patch (text/plain), 2.95 KB, created by
Matt Blenkinsop
on 2025-09-24 15:12:02 UTC
(
hide
)
Description:
Bug 40870: Set the fund code to selected on acqui/neworderempty.pl
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2025-09-24 15:12:02 UTC
Size:
2.95 KB
patch
obsolete
>From e4f9c8a3b01b1e8e2234c9279f0ebf5c43c17f8e Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 24 Sep 2025 14:18:10 +0000 >Subject: [PATCH] Bug 40870: Set the fund code to selected on > acqui/neworderempty.pl > >To tes: >1- add an order to a basket in acquisitions >2- confirm your order shows in the basket with a fund code selected >3- click Modify on your order >4- note that Fund is empty in the modify form and you need to re-select it >5. APPLY PATCH >6. Try steps 1 -4 again, the correct fund should be set on page load > >Signed-off-by: Wendy Bartlett <wbartlett@cuyahogalibrary.org> >Signed-off-by: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> >--- > .../prog/en/modules/acqui/neworderempty.tt | 18 +++++++++++++++--- > 1 file changed, 15 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >index 5516e05f1c8..782f0dc2d94 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >@@ -609,9 +609,21 @@ > [% bdgclass=budget_loo.b_active? "": "b_inactive" | html %] > [% END %] > >- <option value="[% budget_loo.b_id | html %]" class="[% bdgclass | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"> >- [% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %](inactive)[% END %] >- </option> >+ [% IF ( budget_loo.b_sel ) %] >+ <option >+ value="[% budget_loo.b_id | html %]" >+ class="[% bdgclass | html %]" >+ data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" >+ data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]" >+ selected="selected" >+ > >+ [% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %](inactive)[% END %] >+ </option> >+ [% ELSE %] >+ <option value="[% budget_loo.b_id | html %]" class="[% bdgclass | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"> >+ [% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %](inactive)[% END %] >+ </option> >+ [% END %] > [% END %] > </select> > <span class="required">Required</span> >-- >2.50.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40870
:
186884
|
186888
| 186895 |
186908
|
186909
|
186921