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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 3 Apr 2020 13:26:35 +0000 (14:26 +0100)
commit9c9818c528bc47458015f89a74c9192f543ca7bb
treeb88ad386f30fdb8d1e21a571d52caa6896d94081
parentf1c779343e7980d3df5b0a64ea5dfe179267289d
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>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt