Bugzilla – Attachment 79730 Details for
Bug 21385
Vendor search: Item count is incorrectly updated on partial receive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21385: Define the Koha object class for orders
Bug-21385-Define-the-Koha-object-class-for-orders.patch (text/plain), 1.32 KB, created by
Jonathan Druart
on 2018-10-01 14:59:23 UTC
(
hide
)
Description:
Bug 21385: Define the Koha object class for orders
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-10-01 14:59:23 UTC
Size:
1.32 KB
patch
obsolete
>From 0939da4fe7c63665e2ad8ad90ccf5ae9a367c00a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 1 Oct 2018 11:38:04 -0300 >Subject: [PATCH] Bug 21385: Define the Koha object class for orders > >It fixes the following issue: >t/db_dependent/Acquisition/GetBasketsInfosByBookseller.t .. 1/40 Can't >locate object method "_new_from_dbic" via package "Koha::Aqorder" >(perhaps you forgot to load "Koha::Aqorder"?) at >/home/vagrant/kohaclone/Koha/Object.pm line 230. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > Koha/Schema/Result/Aqorder.pm | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/Koha/Schema/Result/Aqorder.pm b/Koha/Schema/Result/Aqorder.pm >index f0dca06948..803511822d 100644 >--- a/Koha/Schema/Result/Aqorder.pm >+++ b/Koha/Schema/Result/Aqorder.pm >@@ -664,6 +664,11 @@ __PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber"); > # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-08-31 11:51:37 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GQEXetlivZm7buQohl8m4A > >+sub koha_objects_class { >+ 'Koha::Acquisition::Orders'; >+} >+sub koha_object_class { >+ 'Koha::Acquisition::Order'; >+} > >-# You can replace this text with custom code or comments, and it will be preserved on regeneration > 1; >-- >2.11.0
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 21385
:
79235
|
79280
|
79301
|
79303
|
79304
|
79305
|
79362
|
79363
|
79364
|
79365
|
79721
|
79727
|
79728
|
79729
| 79730