Bug 40518 - Add examples of leader fields to Advanced Editor section
Summary: Add examples of leader fields to Advanced Editor section
Status: Needs documenting
Alias: None
Product: Koha
Classification: Unclassified
Component: Documentation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-25 14:44 UTC by Philip Orr
Modified: 2025-10-31 08:48 UTC (History)
5 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Orr 2025-07-25 14:44:51 UTC
In the Koha Manual, for Macros in the Advanced Editor in this section:
https://koha-community.org/manual/latest/en/html/cataloging.html#advanced-editor-cataloging
All the examples show updating specific subfields, so you have to just guess that you can update the contents of a control field (MARC 00x$) by just leaving out the subfield codes.
(Like 000$, 001$... etc.)
We should add an example of one of these leader fields.
Comment 1 Gretchen Maxeiner 2025-10-09 22:02:17 UTC
+1. I had no idea! There is no hint that this can be done in the manual or in the macro wiki. It would be great to have it documented.
Comment 2 holly 2025-10-30 22:32:05 UTC
Phillip, could you add an example here? Are you adding/replacing an entire control field or are you editing specific character positions?
Comment 3 Philip Orr 2025-10-31 08:48:18 UTC
Hi Holly,
I think both would work. For example to add some values to the
000 leader field at certain positions, the macro would be:

000=     nam a22     7a 4500

No subfield mentioned, just "000".