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)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 3 Apr 2020 22:17:53 +0000 (22:17 +0000)
commitb0568a67d12250d8ce32246492202d34e8a4117a
treeb443cc4bfd2c12dbe07ab17d813039a186c286a9
parenta6f8e2412d76536ae14bf2c3eba74bb556fee399
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt