https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31021
Bug ID: 31021
Summary: Part of C4::Search::searchResults() is only for staff
interface
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Searching
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Since non-XSLT has been removed, looks like part of C4::Search::searchResults()
is only for staff interface.
It whould be a better performance to skip it for OPAC.
It concerns items loops @onloan_items_loop, @other_items_loop,
@available_items_loop, starting around :
https://git.koha-community.org/Koha-community/Koha/src/commit/7a7bee59021728a30c631e2ee51f9b7778217a9f/C4/Search.pm#L1833
We should try to add a 'unless $is_opac'.
Maybe we could go further and move this to catalogue/search.pl, it would be
more clear.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/