Main Koha release repository https://koha-community.org
Find a file
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
acqui Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00
admin Talking Tech Support - Phase I - Followup - Fix Messaging Preferences 2012-06-10 17:46:58 +02:00
authorities Bug 7747 - Replace YUI autocomplete with jQueryUI 2012-05-31 18:07:55 +02:00
basket
C4 Talking Tech Support - Phase I - Followup - Fix Messaging Preferences 2012-06-10 17:46:58 +02:00
catalogue Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00
cataloguing Bug 7652: Add item barcode on top of its editing form 2012-06-10 11:49:31 +02:00
circ Bug 8004 - Items on Hold Lose Transfer After Being Scanned Twice 2012-06-11 15:53:57 +02:00
debian Bug 6684: Fixes to koha-remove 2012-05-28 11:14:27 +02:00
docs Adding Shari Perkins as contributor 2012-06-10 13:56:26 +02:00
errors
etc Bug 7586 - Search: Language restriction does NOT show expected results (no items shown) 2012-06-10 11:00:14 +02:00
install_misc Bug 7818: update miscellaneous installer scripts 2012-06-09 11:43:59 +02:00
installer Bug 4246 Follow-up updatedatabase 2012-06-10 18:16:33 +02:00
Koha Bug 8004 - Items on Hold Lose Transfer After Being Scanned Twice 2012-06-11 15:53:57 +02:00
koha-tmpl Bug 8004 - Items on Hold Lose Transfer After Being Scanned Twice 2012-06-11 15:53:57 +02:00
labels Bug 8140 - [SIGNED-OFF] Error when exporting label xml 2012-05-28 18:15:31 +02:00
members Talking Tech Support - Phase I 2012-06-10 17:46:52 +02:00
misc Revert "Subroutine prototypes used at line XXX, column 1. See page 194 of PBP." 2012-06-11 15:38:35 +02:00
offline_circ
opac Talking Tech Support - Phase I - Followup 2 - Bugfix 2012-06-10 17:47:01 +02:00
patroncards
reports Bug 4330 : Fixing FSF address and copyright headers 2012-05-28 17:53:40 +02:00
reserve Bug 7815 : Order pickup libraries list by name rather than by code 2012-06-10 13:09:00 +02:00
reviews Bug 1623 - Provide view of approved comments 2011-12-27 18:26:50 +01:00
rotating_collections
selenium
serials Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00
services
skel
sms Bug 2505 - Add commented use warnings where missing in the sms/ directory 2010-04-21 20:25:08 +12:00
suggestion
svc Bug 7248 follow-up (alternative) 2012-05-15 18:05:58 +02:00
t Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00
tags
test Bug 5449: JSON malformed in Koha - Blocker with jQuery 1.4.x 2011-03-12 08:53:41 +13:00
tmp/modified_authorities
tools Bug 7977: Fixing a bug which results in quote fields being incorrectly offset when saving uploaded quotes 2012-05-24 14:15:05 +02:00
virtualshelves Bug 7788: [SIGNED-OFF] Followup: GetShelf call in addbybiblio script corrected 2012-05-22 12:06:26 +02:00
xt Bug 8022: Permissions test doesn't check all languages 2012-05-14 15:05:16 +02:00
.htaccess
.mailmap 7439 Mailmap for master 2012-01-27 12:27:58 +01:00
about.pl
changelanguage.pl
edithelp.pl
fix-perl-path.PL installer: improvements to fix-path-perl.PL on Win32 2007-12-20 19:20:12 -06:00
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
INSTALL.fedora7 Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
INSTALL.opensuse
INSTALL.ubuntu Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
INSTALL.ubuntu.lucid Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
koha_perl_deps.pl
kohaversion.pl Bug 4246 Follow-up updatedatabase 2012-06-10 18:16:33 +02:00
LICENSE
mainpage.pl Bug 6875 cleaning mainpage.pl 2012-02-15 14:58:31 +01:00
Makefile.PL Bug 7818: update installer for biblio DOM indexing 2012-06-09 11:43:56 +02:00
MANIFEST.SKIP
README
README.robots
rewrite-config.PL Bug 7818: update installer for biblio DOM indexing 2012-06-09 11:43:56 +02:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 2 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/