Bug 37005

Summary: Holdings table will not load when noItemTypeImages is set to 'Don't show'
Product: Koha Reporter: Lucas Gass <lucas>
Component: Staff interfaceAssignee: Lucas Gass <lucas>
Status: RESOLVED FIXED QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: aspencatteam, david, dpk, fridolin.somers, gmcharlt, martin.renvoize
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37416
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
This fixes a problem with the holdings table not loading when the noItemTypeImages system preference is set to 'Don't show'.
Version(s) released in:
24.11.00,24.05.02
Circulation function:
Bug Depends on: 33568    
Bug Blocks: 37004    
Attachments: Bug 37005: Fix problem with item_type_description being undefined
Bug 37005: Fix problem with item_type_description being undefined
Bug 37005: Fix problem with item_type_description being undefined

Description Lucas Gass 2024-05-31 21:23:44 UTC
To recreate:
1. Set noItemTypeImages to 'Don't show'
2. Find a record with items and notice the holdings table never loads. 



Uncaught ReferenceError: item_type_description is not defined
Comment 1 Lucas Gass 2024-05-31 21:31:53 UTC
Created attachment 167318 [details] [review]
Bug 37005: Fix problem with item_type_description being undefined

To test:
1. Set noItemTypeImages to 'Don't show'
2. Find a record with items and notice the holdings table never loads.
3. APPLY patch, maybe clear borwser cache too.
4. Try again, the holdings table should load.
Comment 2 David Nind 2024-06-01 19:48:34 UTC
Created attachment 167321 [details] [review]
Bug 37005: Fix problem with item_type_description being undefined

To test:
1. Set noItemTypeImages to 'Don't show'
2. Find a record with items and notice the holdings table never loads.
3. APPLY patch, maybe clear borwser cache too.
4. Try again, the holdings table should load.

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 Matt Blenkinsop 2024-06-12 14:31:04 UTC
Created attachment 167667 [details] [review]
Bug 37005: Fix problem with item_type_description being undefined

To test:
1. Set noItemTypeImages to 'Don't show'
2. Find a record with items and notice the holdings table never loads.
3. APPLY patch, maybe clear borwser cache too.
4. Try again, the holdings table should load.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Comment 4 Martin Renvoize 2024-06-13 13:33:19 UTC
Thanks for all the hard work!

Pushed to main for the next 24.11.00 release as RM Assistant
Comment 5 Lucas Gass 2024-07-11 20:02:58 UTC
Backported to 24.05.x for upcoming 24.05.02
Comment 6 Fridolin Somers 2024-07-17 14:29:04 UTC
Depends on Bug 33568 not in 23.11.x
Comment 7 David Nind 2024-07-17 18:37:29 UTC
Fixes an issues, no user interface changes. No changes to the manual required.