Bugzilla – Attachment 69769 Details for
Bug 19593
[16.11.x] "Delete vendor" button is always set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19593 Basketcount correction on Bookseller.pm
Bug-19593-Basketcount-correction-on-Bookseller.patch (text/plain), 1.14 KB, created by
Gwendal JONCOUR
on 2017-12-13 09:10:13 UTC
(
hide
)
Description:
Bug 19593 Basketcount correction on Bookseller.pm
Filename:
MIME Type:
Creator:
Gwendal JONCOUR
Created:
2017-12-13 09:10:13 UTC
Size:
1.14 KB
patch
obsolete
>From a8ba1f7b3da3b8832f2e90a509b7538b1d449672 Mon Sep 17 00:00:00 2001 >From: Gwendal Joncour <gwendal.joncour@univ-rennes2.fr> >Date: Wed, 8 Nov 2017 12:21:58 +0100 >Subject: [PATCH] Bug 19593 Basketcount correction on Bookseller.pm > >To test: >1/ go to /cgi-bin/koha/acqui/booksellers.pl or >/cgi-bin/koha/acqui/supplier.pl >2/ Note that it displays the delete vendor button instead of the >receive shipments button >3/ Apply patch >4/ Reload the page and notice the button is fixed > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > Koha/Acquisition/Bookseller.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/Koha/Acquisition/Bookseller.pm b/Koha/Acquisition/Bookseller.pm >index 57a6113..326be54 100644 >--- a/Koha/Acquisition/Bookseller.pm >+++ b/Koha/Acquisition/Bookseller.pm >@@ -24,6 +24,8 @@ sub fetch { > return unless $bookseller; > > my $self = $class->new( $bookseller ); >+ $self->{'basketcount'} = $self->basket_count; >+ $self->{'subscriptioncount'} = $self->subscription_count; > $self->contacts; # TODO: This should be generated on demand. > return $self; > } >-- >2.1.4 >
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 19593
:
69178
|
69708
|
69761
| 69769