http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15098

--- Comment #4 from Marc VĂ©ron <[email protected]> ---
Following findings:

opac/opac-search.pl line 213 calls GetItemTypesCategorized
and then resolves the codes to the descriptions

But C4/Koha.pm, GetItemTypesCategorized, line 303 has:
SELECT itemtype, description, imageurl, hideinopac, 0 as 'iscat' FROM itemtypes
WHERE ISNULL(searchcategory) or length(searchcategory) = 0  (...)

If I remove the WHERE clause, the label appears in the facet as expected (Books
isntead of BK in my test case).

I think this is the place for some more digging. Where is
GetItemTypesCategorized used, is it possible to remove the where clause without
side effects (No, I'm afraid), do we need a variant without where clause for
the facets?

-- 
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