Bugzilla – Attachment 87754 Details for
Bug 22686
Koha::Acquisition::Bookseller->contacts should match the coding guidline
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22686: Update 'contacts' to match new guidelines
Bug-22686-Update-contacts-to-match-new-guidelines.patch (text/plain), 982 bytes, created by
Martin Renvoize
on 2019-04-11 09:22:38 UTC
(
hide
)
Description:
Bug 22686: Update 'contacts' to match new guidelines
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2019-04-11 09:22:38 UTC
Size:
982 bytes
patch
obsolete
>From a7997ca715b6f3cc708c1ee07d260c4a11b73f95 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 11 Apr 2019 10:21:59 +0100 >Subject: [PATCH] Bug 22686: Update 'contacts' to match new guidelines > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Acquisition/Bookseller.pm | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/Koha/Acquisition/Bookseller.pm b/Koha/Acquisition/Bookseller.pm >index f2f08db109..f4ef582387 100644 >--- a/Koha/Acquisition/Bookseller.pm >+++ b/Koha/Acquisition/Bookseller.pm >@@ -55,7 +55,9 @@ Returns the list of contacts for the vendor > > sub contacts { > my ($self) = @_; >- return Koha::Acquisition::Bookseller::Contacts->search( { booksellerid => $self->id } ); >+ my $contacts_rs = $self->_result->aqcontacts; >+ return unless $contacts_rs; >+ return Koha::Acquisition::Bookseller::Contacts->_new_from_dbic($contacts_rs); > } > > =head3 subscriptions >-- >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 22686
: 87754