]> git.koha-community.org Git - koha.git/commit
Bug 14356: Improvements to the 'Transfers to receive' page
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 7 Jun 2015 23:30:58 +0000 (01:30 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 10 Jul 2015 02:22:18 +0000 (14:22 +1200)
commit24aac1c17423a86e9936e64e37b4a500025b3b9a
treead75659298183babd5015e7ea6b96953f1cb4013
parent872d5e2bff7bed82562d2ef7800d21d0c80ccd46
Bug 14356: Improvements to the 'Transfers to receive' page

Patch makes several small changes to the template for the
'Transfers to receive page'

1) Show the branch name instead of the branchcode in the
   table of incoming transfers.

If there is a hold connected with the transfer:
2) Show the patron's name as 'surname, firstname'
   intead of 'surname  firstname'
3) Restore broken feature: Show a mailto: link with a
   generated subject of 'Hold: <title>'.

The mailto: feature actually existed in the templates, but
was broken to a misnamed database column. I made some small
changes to make the subject translatable (see bug 8330).

To test:
- Create a transfer by placing a hold with pickup at another library
- Craete a transfer manually
- Go to the circulation > transfers to receive
- Check the changes explained above, compare before and after
- Check the mailto: link works as expected

Bonus: Check the Hold: bit in the subject is really translatable now.

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e5cea455d00c52b4a81e87b4dc77315c03ce8630)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
circ/transferstoreceive.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt