[Koha-bugs] [Bug 13022] Hardcoded limit causes records with more than 20 items to show inaccurate statuses
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 20 16:36:09 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13022
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tomascohen at gmail.com
Status|Passed QA |Failed QA
--- Comment #20 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
I think this should be solved on indexing, no calculation on what is the status
of the records/items should be done on rendering the results page.
If you take a look at C4::Circulation::{AddIssue|AddReturn} you will notice
that they call C4::Items::ModItem, which ultimately calls ModZebra...
So we should always assume the data we retrieve from Zebra is current... and no
calculation should be done outside the resultset...
I belive at some point we messed up things A LOT (by adding the <items> thing
in the XSLT step... but until someone rewrites all that... I think we should do
the search engine-way.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list