Bugzilla – Attachment 180555 Details for
Bug 39518
Add the option to define the basket name in a MARC file when adding to a basket
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39518: Add new field to the UI
Bug-39518-Add-new-field-to-the-UI.patch (text/plain), 2.56 KB, created by
Thomas Klausner
on 2025-04-03 13:58:44 UTC
(
hide
)
Description:
Bug 39518: Add new field to the UI
Filename:
MIME Type:
Creator:
Thomas Klausner
Created:
2025-04-03 13:58:44 UTC
Size:
2.56 KB
patch
obsolete
>From cad54ccf4aaf7d35917537ee2cbfff9e921bc2b8 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> >Date: Wed, 2 Apr 2025 08:00:38 +0000 >Subject: [PATCH] Bug 39518: Add new field to the UI > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >Signed-off-by: Thomas Klausner <domm@plix.at> >--- > admin/marc_order_accounts.pl | 1 + > .../prog/en/modules/admin/marc_order_accounts.tt | 6 ++++++ > 2 files changed, 7 insertions(+) > >diff --git a/admin/marc_order_accounts.pl b/admin/marc_order_accounts.pl >index c95efe312d..91e4686c67 100755 >--- a/admin/marc_order_accounts.pl >+++ b/admin/marc_order_accounts.pl >@@ -81,6 +81,7 @@ if ( $op eq 'acct_form' ) { > encoding => scalar $input->param('encoding') || 'UTF-8', > match_field => scalar $input->param('match_field'), > match_value => scalar $input->param('match_value'), >+ basket_name_field => scalar $input->param('basket_name_field'), > }; > > if ( scalar $input->param('id') ) { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_order_accounts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_order_accounts.tt >index 99174f9cfb..1350af6a8d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_order_accounts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_order_accounts.tt >@@ -134,6 +134,12 @@ > <input type="text" name="match_value" id="match_value" size="20" value="[% account.match_value | html %]" /> > <div class="hint">(Optional): This is the value that will be checked against the match field to see if the file matches this account. If it does it will be processed by this account, if not it will be skipped.</div> > </li> >+ <li> >+ <label for="basket_name_field">Basket name field: </label> >+ <input type="text" name="basket_name_field" id="basket_name_field" size="20" value="[% account.basket_name_field | html %]" /> >+ <div class="hint">(Optional): If you want the basket name to be dynamic based on a value in the MARC file, you can set a field here that will be read on import and used for the basket name.</div> >+ <div class="hint">The format for this field is the same as MARCFieldsToOrder - the field and the subfield separated by a dollar sign e.g. 245$a</div> >+ </li> > </ol> > </fieldset> > <fieldset class="rows"> >-- >2.39.5
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 39518
:
180248
|
180249
|
180250
|
180251
|
180271
|
180277
|
180278
|
180279
|
180280
|
180281
|
180286
|
180287
|
180288
|
180289
|
180290
|
180293
|
180294
|
180295
|
180296
|
180297
|
180553
|
180554
| 180555 |
180556
|
180557