Bug 15453: Assign the correct shelfid to the download list links
commit1b5f4b8b9bc97aa7d7223c5331480bf306c1d0d9
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 31 Dec 2015 11:11:51 +0000 (31 11:11 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Tue, 12 Jan 2016 13:24:54 +0000 (12 14:24 +0100)
tree0e4d60cf0c8ffa27d97ee601e82d613c4e3fc45e
parent5686ba50ba005b1cd8cf4d28a35c28c0c34d3c71
 Bug 15453: Assign the correct shelfid to the download list links

Introduced by bug 14544, the shelfnumber is not correctly passed to the
template.
The shelf variable is passed to the template, to access the shelfnumber,
we need to get shelf.shelfnumber.

Test plan:
At the intranet, try to download a list.
Without this patch it won't work.

Followed test plan, works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit b6ded944331173b38b81fefc817293eecd9b4672)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc