[Koha-patches] [PATCH] Bug 11114 Correct spelling of shipmentdate field

Colin Campbell colin.campbell at ptfs-europe.com
Tue Oct 22 15:54:53 CEST 2013


Searching invoices using shipmentdate failed as
the attribute name was misspelt
---
 C4/Acquisition.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm
index e470b24..072b9fb 100644
--- a/C4/Acquisition.pm
+++ b/C4/Acquisition.pm
@@ -2267,11 +2267,11 @@ sub GetInvoices {
         push @bind_args, "%$args{suppliername}%";
     }
     if($args{shipmentdatefrom}) {
-        push @bind_strs, " aqinvoices.shipementdate >= ? ";
+        push @bind_strs, ' aqinvoices.shipmentdate >= ? ';
         push @bind_args, $args{shipmentdatefrom};
     }
     if($args{shipmentdateto}) {
-        push @bind_strs, " aqinvoices.shipementdate <= ? ";
+        push @bind_strs, ' aqinvoices.shipmentdate <= ? ';
         push @bind_args, $args{shipmentdateto};
     }
     if($args{billingdatefrom}) {
-- 
1.8.3.1



More information about the Koha-patches mailing list