Koha/koha-tmpl/intranet-tmpl/prog/en/modules/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
..
bookcount.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
branchoverdues.tt Bug 7760 - Add ids and classes to every staff page to help with customizaton (circulation) 2012-03-22 18:12:27 +01:00
branchtransfers.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
circulation-home.tt Bug 7828 - On circulation home page, URL to offline circulation Firefox addon should be a hyperlink 2012-04-19 11:22:11 +02:00
circulation.tt Bug 8143 [REVISED] Upgrade jQuery tabs to current jQueryUI version 2012-06-10 15:22:58 +02:00
overdue.tt Bug 7747 - Replace YUI autocomplete with jQueryUI 2012-05-31 18:07:55 +02:00
pendingreserves.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
printslip.tt Bug 7760 - Add ids and classes to every staff page to help with customizaton (circulation) 2012-03-22 18:12:27 +01:00
reserveratios.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
returns.tt Bug 8004 - Items on Hold Lose Transfer After Being Scanned Twice 2012-06-11 15:53:57 +02:00
selectbranchprinter.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
stats.tt Bug 7760 - Add ids and classes to every staff page to help with customizaton (circulation) 2012-03-22 18:12:27 +01:00
transfer-slip.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
transferstoreceive.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
view_holdsqueue.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
waitingreserves.tt Bug 8143 [REVISED] Upgrade jQuery tabs to current jQueryUI version 2012-06-10 15:22:58 +02:00