Bug 22130: Correct parameter to get authorized value description.
authorPierre-Marc Thibault <pierre-marc.thibault@inLibro.com>
Mon, 14 Jan 2019 19:02:49 +0000 (14:02 -0500)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 8 Mar 2019 16:55:00 +0000 (16:55 +0000)
commit5ac1ebb60f0d496792f933d38550af2aa6d7f9ed
treef74b3c7ef7dce6d22955e17f8135c762462168f3
parent5c7afb7095afc2518cc177e0b8cacce9934fe7cf
Bug 22130: Correct parameter to get authorized value description.

This patch corrects the error that shows an authorized value instead of the obvious description of the document status.

TEST PLAN
1) In Koha administration, search "BatchCheckouts".
2) Make sure "BatchCheckouts" is set at "Allow".
3) Make sure "BatchCheckoutsValidCategories" contains at least one patron category.
5) Copy the barcode of an item and change the status document so it cannot be loaned.
4) Choose a patron which belongs to the patron category at 3).
(their account should not be expired and they should not have active fees preferably)
5) Go to the patron details page.
6) Click on "Batch check out".
7) Enter the item barcode.
8) Notice a number is in brackets under the column "Information".
9) Apply patch.
10) Notice the status description has replaced the number.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 9d69a4238269073fd03961e091b5099b85fea6e6)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit f534c985eccae18f406ea8991f13298b958a860b)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt