https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37061

--- Comment #20 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211557
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211557&action=edit
Bug 37061: Add a page to change the data copied to the link field of a
component part

Add Cataloging > Link fields, with the permission of the MARC modification
templates, to see what is generated for the link field (773 for MARC21, 461 for
UNIMARC) of a component part and to change it.

- The subfields that identify the host are shown as fixed by Koha ($7, $w, $0
and
  $9), the others with where they are generated from and their status: default,
  overridden or added by an override.
- "Show what is generated for the record" shows, for a biblionumber, the
default
  value of each subfield and the result with the overrides.
- An override sets a subfield of the link field to a value built from the host,
  for example {245a|nonfiling|trim|ucfirst}, optionally if or unless the host
has
  a field, or a field with a value. It can be edited and deleted, and all the
  overrides can be deleted to go back to the default.
- A subfield that identifies the host cannot be overridden.

The overrides are the actions of the template of the link field, see
GetLinkFieldTemplate.

To test:
1. Go to Cataloging > Link fields
2. Add an override for the subfield t with the value {245a|trim}, then see what
   is generated for a record with its biblionumber
3. Try to add an override for the subfield w: it is refused
4. Create an analytic record of that record: the 773 has the title of the
override
5. Edit, then delete the override
6. Run: cypress run --spec
t/cypress/integration/Tools/LinkFieldTemplates_spec.ts

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to