Bug 39902 - "Cite" feature - UNIMARC : publisher in 214 is not taken into account
Summary: "Cite" feature - UNIMARC : publisher in 214 is not taken into account
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 14670
Blocks:
  Show dependency treegraph
 
Reported: 2025-05-14 14:16 UTC by Marion Durand
Modified: 2025-05-14 18:20 UTC (History)
2 users (show)

See Also:
GIT URL: 31717
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 39902: Cite also look for publisher in 214 in Unimarc (1.76 KB, patch)
2025-05-14 14:57 UTC, Marion Durand
Details | Diff | Splinter Review
Bug 39902: Cite also look for publisher in 214 in Unimarc (1.80 KB, patch)
2025-05-14 18:20 UTC, David Nind
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Marion Durand 2025-05-14 14:16:43 UTC
For UNIMARC, citations often have no publisher information.

The publication information can also be in 214 field, it can still be in 210 field but this will become obsolete at some point. 

The cite function should look into 214 field for publisher information and if there is none, then look into 210).
Comment 1 Mathieu Saby 2025-05-14 14:30:33 UTC
Yes, both fields should be checked, with priority for 214
Comment 2 Marion Durand 2025-05-14 14:57:36 UTC
Created attachment 182455 [details] [review]
Bug 39902: Cite also look for publisher in 214 in Unimarc

In UNIMARC, publisher information can be in 214 and in 210.
The code was only looking in 210.
This patch add support for 214 field.

To test:
0. Make sure your instance is in Unimarc
1. Find or create a record with publisher information in 214 (and none in 210)
2. Search for that record in your OPAC
3. Click on the "Cite" button
4. Check that no publisher information appear
5. Apply the patch
6. Repeat step 2 and 3
7. Check that publisher information is now shown
Comment 3 David Nind 2025-05-14 18:20:28 UTC
Created attachment 182464 [details] [review]
Bug 39902: Cite also look for publisher in 214 in Unimarc

In UNIMARC, publisher information can be in 214 and in 210.
The code was only looking in 210.
This patch add support for 214 field.

To test:
0. Make sure your instance is in Unimarc
1. Find or create a record with publisher information in 214 (and none in 210)
2. Search for that record in your OPAC
3. Click on the "Cite" button
4. Check that no publisher information appear
5. Apply the patch
6. Repeat step 2 and 3
7. Check that publisher information is now shown

Signed-off-by: David Nind <david@davidnind.com>