[Koha-bugs] [Bug 10986] Limit the list of languages in advanced search through system preferences

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 3 13:59:40 CEST 2013


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

--- Comment #11 from Blou <philippe.blouin at inlibro.com> ---
(In reply to Katrin Fischer from comment #10)
> Not saying we should keep them - just that rewriting will need some thought
> put into it. And I think this patch would be a nice enh.

Well, am I glad I made sure to not impact anything else.  I was first wondering
if "just removing the language entries from a table would do it for the
libraries", but then I saw the JOIN on the tables involved and decided not to
touch it.  

If the language features have reached maturity, then it might be a good time to
start thinking about refactoring it safely, now that all the pieces can be
considered.  But the solution doesn't necessarily involve touching the tables
if it is all nicely hidden behind a single and clear API.  And as they say :
"if ain't broke, don't mess it" :)

Btw, only the installer and the advanced search used the getAllLanguages
function.

Thanks for the discussion, that's very good source of information to me.

Blou

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


More information about the Koha-bugs mailing list