Bugzilla – Attachment 128002 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.24 KB, created by
Martin Renvoize (ashimema)
on 2021-11-25 11:50:15 UTC
(
hide
)
Description:
Bug 29275: (follow-up) Remove use of CountSubscriptionFromBiblionumber
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-11-25 11:50:15 UTC
Size:
1.24 KB
patch
obsolete
>From 5a2390eb8398bb5a5231d6454f0907deaa538ced 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> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > 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.20.1
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