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

            Bug ID: 38846
           Summary: Only call getLanguages for advanced search pages
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Searching
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: dc...@prosentient.com.au
        QA Contact: testo...@bugs.koha-community.org

The output of getLanguages() is only used in the advanced search page and not
in search results, so it should only be called for the former action.

As per comments on bug 16734 and bug 38646, the performance difference is minor
on a quiet system, but it could have an impact on a busier system, and it's
always good to cut down on unnecessary database calls where possible.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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