Bug 40216

Summary: 773$w isn't exported by OAI/PMH
Product: Koha Reporter: Uwe <koha>
Component: Web servicesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: 24.11   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Uwe 2025-06-23 09:18:11 UTC
I run into a strange problem and suspect this to be a bug in Koha. We are using Koha 24.11.02.

Wenn exporting all records with export_records.pl the field 773$w shows up in the export whichever record has it set. When I get the latest changes by OAI/PMH e.g. 'verb=ListRecords&from=2025-06-16T04:00:00Z&until=2025-06-16T10:00:00Z&metadataPrefix=marcxml' most of the records are missing 773$w, though it should be set. Other subfields of 773 (773$t and 773$x) are exported. Just 773$w is missing.
Though, a few records (1 out of 10) has 773$w set.

Is there any explaination for it?

I compared the two marcxml for a single record in Koha, the one exported by export_records.pl and the one delivered by an OAI/PMH update. They are almost identical except for the missing 773$w and some minor xml formating

Let me know if you need more information, e.g. an example of a record.