]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 22 Jun 2015 20:30:53 +0000 (17:30 -0300)
commite5cea455d00c52b4a81e87b4dc77315c03ce8630
tree8a4938de2e0fedfe3bd46cf5c63c3ef643083a2d
parentb61782f1e78c771d66351b380755182e111eaf81
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>
circ/transferstoreceive.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt