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

--- Comment #11 from David Cook <[email protected]> ---
Another thing to note... getLanguages() is called both when loading the
advanced search and when running a search and getting the results, but the
output of this function is only ever used by the advanced search.

We should move this function / wrap it in a $template_type check like we do
with other functions that are only used in 1 of the 2 modes.

It would actually be interesting to do a thoroughly analysis of the search.pl
and opac-search.pl to see how much code could be moved into these types of
conditions to further increase performance. 

I'll raise a separate ticket for that, since it's not intrinsically related to
this one...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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