Bug 17212

Summary: ITEMTYPECAT broken if there is another authorised value with same code
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: OPACAssignee: Blou <philippe.blouin>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: charles.farmer, eric.begin, francois.charbonnier, jonathan.druart, marjorie.barry-vila, philippe.blouin
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10937
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 10937    
Bug Blocks:    
Attachments: Bug 17212: Add tests

Description Katrin Fischer 2016-08-29 08:57:22 UTC
The grouping of itemtypes on the advanced search doesn't work correctly, if there is another authorised value in another category with the same code.

To test:
- Add a collection TEST with a description
- Add a ITEMTYPECAT TEST with a different description
- Use TEST to group some itemtypes together
- Take a look at OPAC advanced search - notice itemtypes are grouped, but description of the collection is shown.
Comment 1 Jonathan Druart 2016-09-07 08:43:34 UTC
Comes from bug 10937. InLibro, can you have a look please?
Comment 2 Jonathan Druart 2016-09-07 08:49:30 UTC
Created attachment 55274 [details] [review]
Bug 17212: Add tests
Comment 3 Jonathan Druart 2016-09-07 08:50:25 UTC
Note that there is also another small bug: If the opac description does not exist, the staff description should be used.
Comment 4 Katrin Fischer 2019-02-10 12:58:29 UTC

*** This bug has been marked as a duplicate of bug 21090 ***