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

--- Comment #3 from Pedro Amorim <[email protected]> ---
The reason the search is throwing the warning:
"item-level_itypes set but no itemtype set for item (ID) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698. " is because the
items.itype are indeed NULL (no info at the time of import). And the reason the
search is working is because it falls back to the biblioitems.itemtype after
throwing the error:
https://github.com/Koha-Community/Koha/blob/4f178fad53fb748bd1ccf67680e02411918c9584/Koha/Schema/Result/Item.pm#L700

With all that, the bug remains, the advanced search by item type will return no
results because it's searching as "itemtype, phr". "itemtype" alone will return
the results correctly.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to