Bugzilla – Attachment 66905 Details for
Bug 19256
Koha::Acquisition::Order should use Koha::Object
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19256: (QA followup) Add missing POD
Bug-19256-QA-followup-Add-missing-POD.patch (text/plain), 1.64 KB, created by
Tomás Cohen Arazi (tcohen)
on 2017-09-06 18:48:23 UTC
(
hide
)
Description:
Bug 19256: (QA followup) Add missing POD
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2017-09-06 18:48:23 UTC
Size:
1.64 KB
patch
obsolete
>From d5a9c7254c642f8cab8149c45cba52e7bea2f5cc Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 6 Sep 2017 14:45:00 -0300 >Subject: [PATCH] Bug 19256: (QA followup) Add missing POD > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Acquisition/Order.pm | 14 +++++++++++++- > Koha/Acquisition/Orders.pm | 10 ++++++---- > 2 files changed, 19 insertions(+), 5 deletions(-) > >diff --git a/Koha/Acquisition/Order.pm b/Koha/Acquisition/Order.pm >index 290ed03ab0..60324e3a41 100644 >--- a/Koha/Acquisition/Order.pm >+++ b/Koha/Acquisition/Order.pm >@@ -32,6 +32,10 @@ Koha::Acquisition::Order Object class > > =head2 Class Methods > >+=head3 new >+ >+Overloaded I<new> method for backwards compatibility. >+ > =cut > > sub new { >@@ -45,6 +49,12 @@ sub new { > return $self->SUPER::new($values); > } > >+=head3 store >+ >+Overloaded I<store> method for backwards compatibility. >+ >+=cut >+ > sub store { > my ($self) = @_; > >@@ -88,7 +98,9 @@ sub add_item { > $rs->create({ ordernumber => $self->ordernumber, itemnumber => $itemnumber }); > } > >-=head3 _type >+=head2 Internal methods >+ >+=head3 _type (internal) > > =cut > >diff --git a/Koha/Acquisition/Orders.pm b/Koha/Acquisition/Orders.pm >index 1302200f3d..56c2fb45d5 100644 >--- a/Koha/Acquisition/Orders.pm >+++ b/Koha/Acquisition/Orders.pm >@@ -31,11 +31,9 @@ Koha::Acquisition::Orders object set class > > =head1 API > >-=head2 Class Methods >+=head2 Internal methods > >-=cut >- >-=head3 type >+=head3 _type (internal) > > =cut > >@@ -43,6 +41,10 @@ sub _type { > return 'Aqorder'; > } > >+=head3 object_class (internal) >+ >+=cut >+ > sub object_class { > return 'Koha::Acquisition::Order'; > } >-- >2.14.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 19256
:
66872
|
66874
|
66875
|
66903
|
66904
| 66905