Bug 33977 - Items with 952 using a authorized value display the code not the description on detail.tt
Summary: Items with 952 using a authorized value display the code not the description ...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-09 18:39 UTC by Lucas Gass
Modified: 2023-07-13 08:01 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass 2023-06-09 18:39:05 UTC
To recreate:

1. Set a MARC framework to use an Authorized Value for a 952 field, like publicnote or non-public note.
2. Edit an item in that framework to use that AV.
3. Now look at the display on the item detail page ( detail.tt ), notice the code displays not the description.
4. Look at at the same item on additem.tt. Here it correctly displays the description.
Comment 1 Jonathan Druart 2023-07-13 07:01:00 UTC
Is it a regression?
Comment 2 Marcel de Rooy 2023-07-13 07:09:47 UTC
Can reproduce this too under 21.11
Comment 3 Katrin Fischer 2023-07-13 07:37:35 UTC
I don't think it ever worked. These fields are thought to be text, not AV codes. There is no code in the various templates to check for both options.
Comment 4 Jonathan Druart 2023-07-13 08:01:47 UTC
(In reply to Katrin Fischer from comment #3)
> I don't think it ever worked. These fields are thought to be text, not AV
> codes. There is no code in the various templates to check for both options.

Then if we want to fix that it could be done on top of bug 33568, if I correctly understood the problem... embedding the stringified version of the attributes it seems straightforward.