[Koha-bugs] [Bug 18163] Elasticsearch advanced search by item type not working with item-level_itypes turned off (biblio record)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 23 13:07:21 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18163

Pedro Amorim <pjamorim91 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Elasticsearch unimarc       |Elasticsearch advanced
                   |advanced search by item     |search by item type not
                   |type not working            |working with
                   |                            |item-level_itypes turned
                   |                            |off (biblio record)

--- Comment #2 from Pedro Amorim <pjamorim91 at gmail.com> ---
Turns out the the difference between itype and itemtype is related to the
item-level_itypes preference, which i had it set to biblio record instead of
item.

I changed the preference back to item-level and now the search is working.
However, upon indexing, the following message is thrown:
"item-level_itypes set but no itemtype set for item (ID) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. "
Which is confusing because the item type info is in biblioitems.itemtype for
the items and also the search is apparently working fine.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list