[Koha-bugs] [Bug 17835] Move C4::Koha::GetItemTypes to Koha::ItemTypes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 9 07:50:01 CET 2017


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

--- Comment #12 from Josef Moravec <josef.moravec at gmail.com> ---
(In reply to Jonathan Druart from comment #11)
> (In reply to Josef Moravec from comment #8)
> > test t/db_dependent/Koha/ItemTypes.t is failing:
> > #   Failed test 'item types should be sorted by translated description'
> > #   at t/db_dependent/Koha/ItemTypes.t line 120.
> > #          got: 'description'
> > #     expected: 'a translated itemtype desc'
> > # Looks like you failed 1 test of 20.
> 
> Weird, I not recreate, it passes for me...
> 

I figured it out, the translation is done for "en" language, but when
subroutine C4::Languages::getlanguage returns something else (it could happen -
I have installed two additional languages for now), the original description is
selected and test fails.

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


More information about the Koha-bugs mailing list