Bugzilla – Attachment 54394 Details for
Bug 16686
Fix "Item in transit from since" in Holds tab
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16686: Add Koha::Object based class for Koha::Item::Transfer[s]
Bug-16686-Add-KohaObject-based-class-for-KohaItemT.patch (text/plain), 3.05 KB, created by
Nick Clemens (kidclamp)
on 2016-08-12 17:49:03 UTC
(
hide
)
Description:
Bug 16686: Add Koha::Object based class for Koha::Item::Transfer[s]
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2016-08-12 17:49:03 UTC
Size:
3.05 KB
patch
obsolete
>From f66a171608a96c993d22102ef61ca0568d3dbb1a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 7 Jul 2016 18:06:57 +0100 >Subject: [PATCH] Bug 16686: Add Koha::Object based class for > Koha::Item::Transfer[s] > >Signed-off-by: Marc <veron@veron.ch> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > Koha/Item/Transfer.pm | 44 ++++++++++++++++++++++++++++++++++++++++++++ > Koha/Item/Transfers.pm | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 94 insertions(+) > create mode 100644 Koha/Item/Transfer.pm > create mode 100644 Koha/Item/Transfers.pm > >diff --git a/Koha/Item/Transfer.pm b/Koha/Item/Transfer.pm >new file mode 100644 >index 0000000..fbdc701 >--- /dev/null >+++ b/Koha/Item/Transfer.pm >@@ -0,0 +1,44 @@ >+package Koha::Item::Transfer; >+ >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it under the >+# terms of the GNU General Public License as published by the Free Software >+# Foundation; either version 3 of the License, or (at your option) any later >+# version. >+# >+# Koha is distributed in the hope that it will be useful, but WITHOUT ANY >+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR >+# A PARTICULAR PURPOSE. See the GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License along >+# with Koha; if not, write to the Free Software Foundation, Inc., >+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. >+ >+use Modern::Perl; >+ >+use Carp; >+ >+use Koha::Database; >+ >+use base qw(Koha::Object); >+ >+=head1 NAME >+ >+Koha::Item::Transfer - Koha Transfer Object class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 type >+ >+=cut >+ >+sub _type { >+ return 'Branchtransfer'; >+} >+ >+1; >diff --git a/Koha/Item/Transfers.pm b/Koha/Item/Transfers.pm >new file mode 100644 >index 0000000..0e4988f >--- /dev/null >+++ b/Koha/Item/Transfers.pm >@@ -0,0 +1,50 @@ >+package Koha::Item::Transfers; >+ >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it under the >+# terms of the GNU General Public License as published by the Free Software >+# Foundation; either version 3 of the License, or (at your option) any later >+# version. >+# >+# Koha is distributed in the hope that it will be useful, but WITHOUT ANY >+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR >+# A PARTICULAR PURPOSE. See the GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License along >+# with Koha; if not, write to the Free Software Foundation, Inc., >+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. >+ >+use Modern::Perl; >+ >+use Carp; >+ >+use Koha::Database; >+ >+use Koha::Item::Transfer; >+ >+use base qw(Koha::Objects); >+ >+=head1 NAME >+ >+Koha::Transfers - Koha Transfer Object set class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 type >+ >+=cut >+ >+sub _type { >+ return 'Branchtransfer'; >+} >+ >+sub object_class { >+ return 'Koha::Item::Transfer'; >+} >+ >+1; >-- >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 16686
:
52157
|
52163
|
52164
|
52183
|
52898
|
53050
|
53053
|
53084
|
53190
|
53191
|
53192
|
53227
|
54128
|
54129
|
54130
|
54131
|
54392
|
54393
| 54394 |
54395