Bug 38528 - Additional fields are not properly fetched in serial subscription details
Summary: Additional fields are not properly fetched in serial subscription details
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Serials (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Baptiste Wojtkowski (bwoj)
QA Contact: Testopia
URL:
Keywords: regression
Depends on: 35044
Blocks:
  Show dependency treegraph
 
Reported: 2024-11-25 16:16 UTC by Baptiste Wojtkowski (bwoj)
Modified: 2024-11-25 16:42 UTC (History)
0 users

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


Attachments
Bug 38528: Additional fields are not properly fetched in serial subscription details (2.18 KB, patch)
2024-11-25 16:21 UTC, Baptiste Wojtkowski (bwoj)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Baptiste Wojtkowski (bwoj) 2024-11-25 16:16:34 UTC
Since Bug 35044, if get values are not present in the table additional_field_values, they are not displayed to the user.

To reproduce:
1 - Create a subscription
2 - Add an additional value:
Name: TEST
Authorised value: None
Repeatable: Not checked
Marc field: 245$a for MARC21, 240$a for UNIMARC
MARC field mode: get value from marc record
Searchable: Not checked
3 - Go on subscription details -> it is not displayed. 
4 - Try and edit the subscription, go to page 2 -> value is not displayed
5 - Save -> value is not displayed
Comment 1 Baptiste Wojtkowski (bwoj) 2024-11-25 16:21:10 UTC
Created attachment 174978 [details] [review]
Bug 38528: Additional fields are not properly fetched in serial subscription details

TEST PLAN:
1 - Create a subscription
2 - Add an additional value:
Name: TEST
Authorised value: None
Repeatable: Not checked
Marc field: 245$a for MARC21, 200$a for UNIMARC
MARC field mode: get value from marc record
Searchable: Not checked
3 - Go on subscription details -> it is not displayed.
4 - Try and edit the subscription, go to page 2 -> value is not displayed
5 - Save -> value is not displayed
6 - Apply patch
On steps 3, 4, and 5, you can now see the title