Bug 39518: Add new field to the UI

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Thomas Klausner <domm@plix.at>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Matt Blenkinsop 2025-04-02 08:00:38 +00:00 committed by Katrin Fischer
parent fe37b056b6
commit e2e3de8e73
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 7 additions and 0 deletions

View File

@ -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') ) {

View File

@ -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">