Bugzilla – Attachment 126628 Details for
Bug 29275
Use the API to render checkout history for a biblio
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29275: (follow-up) Remove use of CountSubscriptionFromBiblionumber
Bug-29275-follow-up-Remove-use-of-CountSubscriptio.patch (text/plain), 1.12 KB, created by
Tomás Cohen Arazi (tcohen)
on 2021-10-20 21:36:16 UTC
(
hide
)
Description:
Bug 29275: (follow-up) Remove use of CountSubscriptionFromBiblionumber
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-10-20 21:36:16 UTC
Size:
1.12 KB
patch
obsolete
>From bceab09990f04141c2d158c981a5a3adfa84236b Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 20 Oct 2021 18:34:43 -0300 >Subject: [PATCH] Bug 29275: (follow-up) Remove use of > CountSubscriptionFromBiblionumber > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > catalogue/issuehistory.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/catalogue/issuehistory.pl b/catalogue/issuehistory.pl >index add7cb2d40..1db534078f 100755 >--- a/catalogue/issuehistory.pl >+++ b/catalogue/issuehistory.pl >@@ -23,7 +23,6 @@ use C4::Auth qw( get_template_and_user ); > use C4::Output qw( output_html_with_http_headers ); > > use C4::Search qw( enabled_staff_search_views ); >-use C4::Serials qw( CountSubscriptionFromBiblionumber ); > > use Koha::Biblios; > >@@ -50,7 +49,7 @@ $template->param( > $template->param( > issuehistoryview => 1, > C4::Search::enabled_staff_search_views, >- subscriptionsnumber => CountSubscriptionFromBiblionumber($biblionumber), >+ subscriptionsnumber => $biblio->subscriptions->count, > ); > > output_html_with_http_headers $query, $cookie, $template->output; >-- >2.32.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 29275
:
126626
|
126627
|
126628
|
126634
|
126635
|
126636
|
127701
|
127702
|
127703
|
127704
|
127894
|
127895
|
127896
|
127897
|
128001
|
128002
|
128003
|
131333
|
131334
|
131335