[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-1139-g5ed940b
Git repo owner
gitmaster at git.koha-community.org
Wed Sep 18 18:34:59 CEST 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, master has been updated
via 5ed940b18eddca2e4cd823afce2e9558b074158d (commit)
from 990eebf132fef94dfbac4d3e17fe7acd9ce7b2c6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5ed940b18eddca2e4cd823afce2e9558b074158d
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date: Tue Jul 16 16:43:30 2013 +0200
Bug 10599: add option to unselect on loan items on the batch item modification tool
Sometimes when using the batch item modification tool, we would like to
automatically uncheck on loan items.
This patch also adds a new routine in C4::Circulation, IsItemIssued(),
which, when passed an itemnumber, returns whether the item is
currently on loan.
Test plan:
1/ Go to tools/batchMod.pl.
2/ Enter some barcode (at least 1 should be on loan).
3/ Click on the Continue button.
4/ Click on the "Clear on loan" link.
5/ Check that on loan items are unchecked.
Launch the unit test file:
prove t/db_dependent/Circulation/IsItemIssued.t
http://bugs.koha-community.org/show_bug.cgi?id=10572
Signed-off-by: Liz Rea <liz at catalyst.net.nz>
Works as expected, only modifies items that are checked (still). No regression noted.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Passes koha-qa.pl, works as advertised.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Circulation.pm | 20 ++++++++++
.../intranet-tmpl/prog/en/js/pages/batchMod.js | 8 +++-
.../prog/en/modules/tools/batchMod-edit.tt | 30 +++++++++------
t/db_dependent/Circulation/IsItemIssued.t | 40 ++++++++++++++++++++
tools/batchMod.pl | 2 +
5 files changed, 87 insertions(+), 13 deletions(-)
create mode 100644 t/db_dependent/Circulation/IsItemIssued.t
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list