From cfb2ed2a220254ea55afe1932ba5e18b5fe4a10c Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Tue, 8 Jan 2019 09:28:35 -0500 Subject: [PATCH] Bug 22083: Typo in circulation_batch_checkouts.tt There is a typo in circulation_batch_checkouts.tt that makes Koha skip a warning if the user cannot borrow due to circulation rules. This patch corrects this typo. To test: 1. In Administration > Global system preferences, 'Allow' BatchCheckouts and enter patron categories in BatchCheckoutsValidCategories 2. Go to Administration > Circulation and fines rules 3. Enter a rule where a certain category of patrons (that is in BatchCheckoutsValidCategories) cannot take out a particular item type 4. Search the catalog for an item of that item type 5. Copy the barcode 6. Go into patrons and find a patron of that category 7. Click on the Batch checkout tab 8. Paste the barcode in the box and click Check out 9. It should say 'Too many checked out' 10. Apply the patch 11. Try the check out again, it should show both warnings ('Too many checked out' and 'This patron can't check out this item per library circulation policy') --- .../intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt index ad295b8..715c9e1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt @@ -145,7 +145,7 @@ [% IF checkout_info.BORRNOTSAMEBRANCH %]
  • This patron is from a different library ([% Branches.GetName( checkout_info.BORRNOTSAMEBRANCH ) | html %]).
  • [% END %] - [% IF checkout_ino.PATRON_CANT %] + [% IF checkout_info.PATRON_CANT %]
  • This patron can't check out this item per library circulation policy.
  • [% END %] [% IF checkout_info.NOT_FOR_LOAN_FORCING %] -- 2.7.4