Bugzilla – Attachment 100723 Details for
Bug 24877
Add link from vendor to linked subscriptions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24877: Add link from vendor to linked subscriptions
Bug-24877-Add-link-from-vendor-to-linked-subscript.patch (text/plain), 1.93 KB, created by
Katrin Fischer
on 2020-03-16 07:15:19 UTC
(
hide
)
Description:
Bug 24877: Add link from vendor to linked subscriptions
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-03-16 07:15:19 UTC
Size:
1.93 KB
patch
obsolete
>From b2f85706027cc6d71b451815fe2157b720a8b085 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Fri, 13 Mar 2020 20:52:24 +0000 >Subject: [PATCH] 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 >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >index 88dede5a0c..3cea6c7a10 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >@@ -334,7 +334,13 @@ > > <div class="subscription-details"> > <h2>Subscription details</h2> >- <p><strong>Number of subscriptions: </strong>[% subscriptioncount | html %]</p> >+ <p><strong>Number of subscriptions: </strong> >+ [% IF ( CAN_user_serials ) %] >+ <a href="/cgi-bin/koha/serials/serials-search.pl?bookseller_filter=[% name | uri %]&searched=1">[% subscriptioncount | html %]</a> >+ [% ELSE %] >+ [% subscriptioncount | html %] >+ [% END %] >+ </p> > </div> > > </div> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24877
:
100723
|
101023
|
101532