[Koha-bugs] [Bug 14876] Show number of holds per record on the search results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 18 19:07:02 CEST 2016


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

--- Comment #7 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Nick Clemens from comment #6)
> (In reply to Jonathan Druart from comment #4)
> > 2/ Since this plugin is only used once, why did you choose to use a TT
> > plugin?
> 
> If we don't use this we'd have to iterate through the search results and
> counts the holds for each before display, this way we only check for those
> that are being currently shown.

I am not sure I am following you, the results returned by searchResults are
always displayed, isn't?

Since we already iterate in catalogue/search.pl it's not a big deal to do this
job over there. I don't think it's the job of a plugin to calculate the number
of holds for a given record.

Feel free to ask for another QA point of view ;)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list