Bug 17869: Don't show pick-up library for list of holds in OPAC account when there...
authorOwen Leonard <oleonard@myacpl.org>
Mon, 18 Jun 2018 18:29:57 +0000 (18:29 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 2 Jul 2018 08:12:01 +0000 (09:12 +0100)
commit9d96e2142140b8184e77da038fde51c0f7000c87
tree9a2dbff3c1a10938d5e426951b15606cd659c047
parent737702f9756f89f6f75b2a3323e03738234fa143
Bug 17869: Don't show pick-up library for list of holds in OPAC account when there is only one branch

This patch modifies the user summary page in the OPAC so that the
"pick up location" column isn't shown in the table of holds if there is
only one library defined.

To test, apply the patch and log into the OPAC as a user with one or
more holds.

 - In a system with more than one library defined the "Holds" tab of
   opac-user.pl should show a "Pick up location" column.

 - In a system with only one library defined there should be now "Pick
   up location" column.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt