[koha-commits] main Koha release repository branch new/bug_9367 created. v3.08.00-2054-gc9e81d4
Git repo owner
gitmaster at git.koha-community.org
Sat Mar 16 16:46:03 CET 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, new/bug_9367 has been created
at c9e81d48407d9da23bbb77ad9bf3068fa5ce8d44 (commit)
- Log -----------------------------------------------------------------
commit c9e81d48407d9da23bbb77ad9bf3068fa5ce8d44
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Mon Mar 11 12:13:29 2013 +0100
Bug 9367: Followup finalizing QA
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Keeping fetchrow close to its execute worked even better in GetReserveStatus.
Instead of returning undef, I return empty string.
I checked all calls; this value is mostly not checked for undef.
So we eliminate a lot of warnings in log.
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
commit 37b6ac0b14989ec00e511c72f0fb840cdc3f5632
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date: Mon Mar 11 11:33:05 2013 +0100
Bug 9367: Followup: Code optimization: CheckReserves is too often called
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
commit fad1f44d42600f440ac88c8df767cfc81c51dea9
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date: Tue Jan 8 15:33:58 2013 +0100
Bug 9367: Code optimization: CheckReserves is too often called
This patch rewrites the GetReserveStatus routine in order to take in
parameter the itemnumber and/or the biblionumber.
In some places, the C4::Reserves::CheckReserves routine is called when
we just want to get the status of the reserve. In these cases, the
C4::Reserves::GetReserveStatus is now called.
This routine executes 1 sql query (or 2 max).
Test plan:
Check that there is no regression on the different pages where reserves
are used. The different status will be the same than before applying
this patch.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
-----------------------------------------------------------------------
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list