Bug 24941: Serials - Fix link to basket from acquisition details information
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 28 Mar 2020 00:22:35 +0000 (01:22 +0100)
committerJoy Nelson <joy@bywatersolutions.com>
Tue, 28 Apr 2020 21:04:43 +0000 (21:04 +0000)
commit0a505e0b08f92ee0c4131a036028e13896271740
tree4869b484ed5a55a01702047bf46313d60c2b211e
parentf11299f9c04e6223507f0b4914b3191b60d5845e
Bug 24941: Serials - Fix link to basket from acquisition details information

Adding orders from subscriptions makes acquisition information visible
in the serials module. In the table of acquisition data is a link back
to the basket - but this link is missing the basket number parameter -
it doesn't work. This patch fixes the TT variable to make it work.

To test:
- Add a subscription
- Add a new basket
- Add a order line using "Add from subscription"
- Go to the subscription details page, check the acquisitions tab
- Try the link to the basket - it should not work
- Apply patch
- Try the link again - now it should bring up the basket page with
  the order.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt