Bug 41424

Summary: Add examples to the AdditionalFieldsInZ3950ResultSearch and AdditionalFieldsInZ3950ResultAuthSearch system preference descriptions
Product: Koha Reporter: David Nind <david>
Component: CatalogingAssignee: David Nind <david>
Status: ASSIGNED --- QA Contact: David Nind <david>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy
Version: MainKeywords: Academy
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: String patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 40017    
Bug Blocks:    

Description David Nind 2025-12-10 16:42:47 UTC
Bug 40017 improved what you can show for additional fields in Z39.50 search results using the AdditionalFieldsInZ3950ResultSearch and AdditionalFieldsInZ3950ResultAuthSearch system preferences:

1. The complete leader with 000.
2. The complete control field, for example 008.
3. Specific positions in the leader or control fields, for example 000p1, 008p2, etc.
4. A range from the leader or control field, for example 000p6-7, 008p35-37, etc.

Some examples of these should be added to the system preference descriptions.
Comment 1 David Nind 2025-12-10 17:19:19 UTC
I'm happy to create a patch for this (as it is within my capabilities!)

Current descriptions:

- AdditionalFieldsInZ3950ResultSearch: Display the MARC field/subfields __________ in the 'Additional fields' column of Z39.50 search results (use comma as delimiter e.g.: "001, 082$ab, 090$ab").

- AdditionalFieldsInZ3950ResultAuthSearch: Display the MARC field/subfields __________ in the 'Additional fields' column of Z39.50 search results (use comma as delimiter e.g.: "001, 035$a").

Generic:

Display MARC field and subfields __________ in the additional fields column for Z39.50 search results (use a comma as a separator).

Examples:
- ...

Examples for AdditionalFieldsInZ3950ResultSearch:
- Fields: 082$ab, 090$ab
- Specific positions for leader and control fields: 000p6, 000p6-7, 008, 008p35-37
  . 000p6-7 for position 6 and 7 of the leader field (type of record and type of control)
  . 008p35-37 for position 35-57 (language)

Examples for AdditionalFieldsInZ3950ResultAuthSearch:
- Fields: 001, 035$a
- Specific positions for leader and control fields: 000p5, 000p6-7, 008, 008p9-10
  . 000p5 for position 5 of the leader field (record status)
  . 008p9-10 for positions 9 and 10 (kind of record and descriptive cataloging rules)
Comment 2 David Nind 2025-12-10 17:21:13 UTC
Should I add some UNIMARC examples?