Bug 24877: Add link from vendor to linked subscriptions
authorKatrin Fischer <katrin.fischer.83@web.de>
Fri, 13 Mar 2020 20:52:24 +0000 (20:52 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 24 Mar 2020 11:28:32 +0000 (11:28 +0000)
commit187e80d0a805f97e88bf8fd773898cb3a79be106
tree47853a4ac8ddb7328886bde55f13175fc9fc792c
parent3cdd94065c1158eb9695faa13e006c7729239fde
Bug 24877: Add link from vendor to linked subscriptions

Koha shows the number of subscriptions linked to a vendor,
but there is no way to look them up. This adds a link to the
subscription search with the vendor name, so there is an easy way
to find the subscriptions.

To test:
- Be superlibrarian or have serials permission
- Make sure you have one or more subscriptions linked to vendors
- Go to the vendor's detail page in acquisitions
- Verify the number of subscriptions is now a link
- Verify the search results are correct when clicking on it
- Remove permissions (no serials, not superlibrarian)
- Verify now the number shows, but is not linked

Signed-off-by: Nazlı Çetin <nazli@devinim.com.tr>
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/acqui/supplier.tt