Koha/circ
Kyle M Hall 81edc91f37 Bug 8004 - Items on Hold Lose Transfer After Being Scanned Twice
When a hold is placed on an item where the pickup location is
different than the holding library, Koha initiates a branch
transfer for that item to fill that hold when items is run through
the returns system.

If the item is then run through returns a second time, the system is
supposed to close that transfer as a 'wrongtransfer', and open a new
transfer with the same from and to branches as the original.

The problem is that the original transfer is closed, but the new
transfer is not created. This is because at some point, someone
replaced the template variable WrongTransfer, which had previously
contained the branchcode for the library to transfer to, with the
full name of the library instead ( I assume to make a look nicer ).

Solved by removing the line that was changing the variable contents
from the branchcode to the branch name, and adding a new TT filter,
KohaBranchName that functions in the same way as KohaDates, except
it takes a branchcode and returns the branch name for the given
branchcode.

The consequence of this, is the the name of the library is passed to updateWrongTransfer instead of the branchcode, causing the failure.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-06-11 15:53:57 +02:00
..
add_message.pl Fix FSF address in directory circ/ 2010-03-16 20:17:50 -04:00
bookcount.pl Bug 4372 - Fix for bookcount.pl not counting started transfers as seeing an item 2010-04-29 22:03:42 -04:00
branchoverdues.pl Bug 8077 - overdues with fines won't run 2012-05-21 18:29:26 +02:00
branchtransfers.pl Fix for Bug 7123 - barcode should be one word 2011-12-13 17:48:02 +01:00
circulation-home.pl Fix for bug 6243 - Link to fast cataloging missing from circulation home page 2011-04-22 06:57:40 +12:00
circulation.pl Bug 8178 - circ/circulation.pl under plack duplicates checkout rows 2012-06-10 13:02:05 +02:00
del_message.pl Fix FSF address in directory circ/ 2010-03-16 20:17:50 -04:00
hold-transfer-slip.pl bug_7001: Issue and Reserve slips are notices. 2012-03-09 10:11:20 +01:00
overdue.pl Bug 7482: overdues report downloads without names 2012-04-04 17:39:36 +02:00
pendingreserves.pl Bug 6086 - adding a dynamic filter to pending holds 2012-03-08 18:14:09 +01:00
reserveratios.pl bug 6724: enable decimals on values greater than 1 2011-09-07 08:39:18 +12:00
returns.pl Bug 8004 - Items on Hold Lose Transfer After Being Scanned Twice 2012-06-11 15:53:57 +02:00
selectbranchprinter.pl Bug 6841 - A member with cataloging permissions cannot change branches (when independent branches is set on) 2011-09-14 21:44:03 +12:00
stats.pl Bug 2505 - Add commented use warnings where missing in the circ/ directory 2010-04-21 20:20:03 +12:00
transfer-slip.pl bug_7001: Issue and Reserve slips are notices. 2012-03-09 10:11:20 +01:00
transferstoreceive.pl Improve display of information on Transfers to your library report 2010-03-16 21:12:20 -04:00
view_holdsqueue.pl bug_7201: Holds reports: add copynumber and enumchron 2012-02-17 10:54:56 +01:00
waitingreserves.pl bug 6039: Cancel All waiting holds button - Addendum: Add redirect to refresh list after canceling all holds. 2012-02-27 15:43:15 +01:00
ypattrodue-attr-search-authvalue.pl Bug 7747 - Replace YUI autocomplete with jQueryUI 2012-05-31 18:07:55 +02:00
ysearch.pl Bug 7747 - Replace YUI autocomplete with jQueryUI 2012-05-31 18:07:55 +02:00