When an ITEMTYPECAT is using the same code as an itemtype, the description is not showing on the advanced search in OPAC. To test: - Create an itemtype BK - Create an ITEMTYPECAT BK - Link 2 itemtypes to this search category - Verify the description is not showing up on advanced search in the OPAC
Hum, looks ok for me.
Is the ITEMTYPECAT choice supposed to replace all the individual item types it contains? Is ITEMTYPECAT supposed to work in the staff client?
Hi Owen, - yes, you are not supposed to see the other itemtypes, only the group - no, staff should still display them all We saw this on 17.11 - had no time to retest on master yet :(
I can't reproduce the issue on master. So far only confirmed for 17.11.
Still ok here. % git checkout v17.11.08 % sudo koha-mysql kohadev MariaDB [koha_kohadev]> select * from authorised_values where authorised_value="BK"; +-----+-------------+------------------+---------+----------+----------+ | id | category | authorised_value | lib | lib_opac | imageurl | +-----+-------------+------------------+---------+----------+----------+ | 398 | ITEMTYPECAT | BK | desc BK | desc BK | | +-----+-------------+------------------+---------+----------+----------+ 1 row in set (0.01 sec) MariaDB [koha_kohadev]> select itemtype, description from itemtypes where searchcategory="BK"; +----------+----------------+ | itemtype | description | +----------+----------------+ | BK | Books | | CF | Computer Files | +----------+----------------+ 2 rows in set (0.00 sec) https://snag.gy/pG5ygm.jpg
*** Bug 17212 has been marked as a duplicate of this bug. ***
*** Bug 18944 has been marked as a duplicate of this bug. ***
I can confirm it works correctly on master now. But: It doesn't use the staff description if there is no OPAC description. That's why it appears empty too in some cases. I filed a new bug: Bug 22302 - ITEMTYPECAT description doesn't fall back to description if OPAC description is empty