This change makes it so that C4::Languages::getLanguages is only called for the advanced search pages and not the search result pages where the output is not used. Test plan: 0. Apply the patch and koha-plack --restart kohadev 1. Go to http://localhost:8081/cgi-bin/koha/catalogue/search.pl?expanded_options=1 2. Note that the "Language" and "Language of original" dropdowns appear with language options 3. Go to the following http://localhost:8081/cgi-bin/koha/catalogue/search.pl?advsearch=1 &idx=kw&q=test&sort_by=relevance 4. Note that the page loads normally 5. Go to http://localhost:8080/cgi-bin/koha/opac-search.pl?expanded_options=1 6. Note that the "Language" dropdown appears with language options 7. Go to http://localhost:8080/cgi-bin/koha/opac-search.pl?idx=&q=test&weight_search=1 8. Note that the page loads normally Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> |
||
|---|---|---|
| .. | ||
| ISBDdetail.pl | ||
| MARCdetail.pl | ||
| detail.pl | ||
| export.pl | ||
| getitem-ajax.pl | ||
| image.pl | ||
| imageviewer.pl | ||
| issuehistory.pl | ||
| item-export.pl | ||
| itemsearch.pl | ||
| labeledMARCdetail.pl | ||
| moredetail.pl | ||
| search-history.pl | ||
| search.pl | ||
| showelastic.pl | ||
| showmarc.pl | ||
| stockrotation.pl | ||
| updateitem.pl | ||