Bugzilla – Attachment 25894 Details for
Bug 11755
Argument 'booksellerid' not properly handled in orderreceive.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed-off] Bug 11755: SearchOrders does not return booksellerid
Signed-off-Bug-11755-SearchOrders-does-not-return-.patch (text/plain), 2.13 KB, created by
Marc Véron
on 2014-03-06 13:53:54 UTC
(
hide
)
Description:
[Signed-off] Bug 11755: SearchOrders does not return booksellerid
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2014-03-06 13:53:54 UTC
Size:
2.13 KB
patch
obsolete
>From b4055e5ccbaa2f60340d7884b184c0cceef1de55 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 5 Mar 2014 12:06:47 +0100 >Subject: [PATCH] [Signed-off] Bug 11755: SearchOrders does not return > booksellerid >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The SearchOrders routine should return the booksellerid. > >Booksellerid was returned before bug 10723. > >Quick test plan: >Go on orderreceive.pl and verify that the vendor link is correct. > >Followed test plan. Vendor link is now correct. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > C4/Acquisition.pm | 1 + > t/db_dependent/Acquisition.t | 4 +++- > 2 files changed, 4 insertions(+), 1 deletion(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index b848c73..6186255 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -1664,6 +1664,7 @@ sub SearchOrders { > biblioitems.isbn, > biblioitems.biblioitemnumber, > aqbasket.authorisedby, >+ aqbasket.booksellerid, > aqbasket.closedate, > aqbasket.creationdate, > aqbasket.basketname, >diff --git a/t/db_dependent/Acquisition.t b/t/db_dependent/Acquisition.t >index 1cb6d4b..3b18ced 100755 >--- a/t/db_dependent/Acquisition.t >+++ b/t/db_dependent/Acquisition.t >@@ -8,7 +8,7 @@ use POSIX qw(strftime); > > use C4::Bookseller qw( GetBookSellerFromId ); > >-use Test::More tests => 63; >+use Test::More tests => 64; > > BEGIN { > use_ok('C4::Acquisition'); >@@ -90,6 +90,8 @@ is(scalar(@$orders), 3, 'retrieved 3 pending orders'); > ok( exists( @$orders[0]->{basketgroupid} ), "SearchOrder: The basketgroupid key exists" ); > ok( exists( @$orders[0]->{basketgroupname} ), "SearchOrder: The basketgroupname key exists" ); > ok( exists( @$orders[0]->{authorisedby} ), "SearchOrders: The authorised key exists (bug 11777)" ); >+# Regression test for bug 11755 >+ok( exists( @$orders[0]->{booksellerid} ), "SearchOrder: The booksellerid key exists" ); > > ok( GetBudgetByOrderNumber($ordernumber1)->{'budget_id'} eq $budgetid, "GetBudgetByOrderNumber returns expected budget" ); > >-- >1.7.10.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 11755
:
25834
|
25885
|
25894
|
26078
|
26121