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

            Bug ID: 36261
           Summary: Calculating OpacHiddenItems is too slow in OPAC search
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Calculating items and records hidden by OpacHiddenItems it slow. Too slow.

Fortunately, I've come up with an optimization which seems to effectively
eliminate the overhead added by OpacHiddenItems.

Basically, instead of running 1 query per item, I run 1 query per bib to get
all hidden items. It's pretty straightforward, but I'd like to battle-test it a
bit more. I'm also writing this optimization for an older version of Koha, and
I still have more optimizing I want to do, so I'm not going to post my patch
just yet...

It's coming though!

-- 
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/

Reply via email to