Bug 29777

Summary: Fields 580 are wrong displayed in summary column
Product: Koha Reporter: Jérémy Breuillard <jeremy.breuillard>
Component: MARC Authority data supportAssignee: Julian Maurice <julian.maurice>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: caroline.cyr-la-rose, david, gveranis, jeremy.breuillard, joonas.kylmala, julian.maurice
Version: 20.11   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 29777: Fields 580 are wrong displayed in summary column
Bug 29777: Fields 580 are wrong displayed in summary column
screenshot 1
screenshot 2

Description Jérémy Breuillard 2021-12-31 08:43:24 UTC
In the results of an Authority searching we can see semicolon appears in 'Summary' column. It should be field 580 instead
Comment 1 Jérémy Breuillard 2021-12-31 08:43:36 UTC
*** Bug 29776 has been marked as a duplicate of this bug. ***
Comment 2 Jérémy Breuillard 2021-12-31 10:31:52 UTC Comment hidden (obsolete)
Comment 3 David Nind 2022-05-31 22:10:48 UTC
Just checking what is required here, as I'm not sure how it displays now f there are 580 entries and how it should display after the patch is applied.

I'm not that familiar with authorities, so I'm not really sure how they should be "correctly" displayed.

Screenshots of before and after would help.

For me, if I add some 580 entries:
- Displays in the summary column as "See also" and then the entries with a space between them.
- This is the same before and after the patch is applied.
Comment 4 Caroline Cyr La Rose 2022-06-30 13:41:52 UTC
I agree that the test plan is not very clear. What are we supposed to put in 580 (and which subfield(s)?) Are we supposed to put ; ?

I catalogued my authority's 580 field as follows
580$v Form subdivision
580$x General subdivision
580$y Chronological subdivision
580$z Geographic subdivision

(yes I actually put the name of the subfield in the subfield)

The summary when searching for authorities looks like this (without patch)
Personal Names:
Ó Cadhain, Máirtín.
see also:
Form subdivision General subdivision Chronological subdivision Geographic subdivision

Please review test plan and make it more detailed
Comment 5 Jérémy Breuillard 2022-08-29 15:22:12 UTC
Created attachment 139958 [details] [review]
Bug 29777: Fields 580 are wrong displayed in summary column

The summary of Authority search results doesn't display informations about field $580.
Those informations are separated by ;

To test:
1) Make sure to have at least one authority with subfield 580$a
2) Home > Authorities > Results from authority search
3) Notice the series of semicolons in the summary " ; ; ; ; " - (screenshot 1)
4) Usually for earch subfield 580$a that you fill up when you modify/create an authority the summary should display 580$a (also $550, $560) followed by a semicolons "myEntryElementForSubfield580$a ; myOtherEntryElementForSubfield580$a ; "
5) Apply patch & refresh the browser
6) Notice the 580$a are now visible on summary and ends with a semicolon (screenshot 2)
Comment 6 Jérémy Breuillard 2022-08-29 15:23:43 UTC
Created attachment 139959 [details]
screenshot 1
Comment 7 Jérémy Breuillard 2022-08-29 15:25:42 UTC
Created attachment 139960 [details]
screenshot 2
Comment 8 Joonas Kylmälä 2022-08-30 19:49:20 UTC
The proposed change doesn't make sense for me, could you explain why it might fix this issue? I'm unable to reproduce on master, the bug report is for 20.11 though, do you have the issue with master as well?

Also do you use Zebra or Elasticsearch? I used Zebra when trying to reproduce.
Comment 9 Julian Maurice 2023-10-11 13:40:10 UTC
Marking as invalid. The patch does not fix anything and the initial problem cannot be reproduced.