Bug 17212 - ITEMTYPECAT broken if there is another authorised value with same code
Summary: ITEMTYPECAT broken if there is another authorised value with same code
Status: RESOLVED DUPLICATE of bug 21090
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Blou
QA Contact: Testopia
URL:
Keywords:
Depends on: 10937
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-29 08:57 UTC by Katrin Fischer
Modified: 2019-02-10 12:58 UTC (History)
6 users (show)

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 17212: Add tests (1.57 KB, patch)
2016-09-07 08:49 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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 ***