[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5682] trunk



Revision: 5682
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5682&view=rev
Author:   einhverfr
Date:     2013-03-11 10:00:43 +0000 (Mon, 11 Mar 2013)
Log Message:
-----------
Fixing addresses not shown in customer search in most case

Modified Paths:
--------------
    trunk/Changelog
    trunk/LedgerSMB/Form.pm

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2013-03-10 10:09:11 UTC (rev 5681)
+++ trunk/Changelog	2013-03-11 10:00:43 UTC (rev 5682)
@@ -87,6 +87,7 @@
 * Removed check for reversing too many sales, since this poses problems 
   in corner cases with no good solutions (Chris T)
 * R5680-1, (tentatively) fixes to shipping/invoice onhand numbers (Chris T)
+* Fixed customer search showing sales rather than billing addresses (Chris T)
 
 Changelog for 1.3.30
 * Documented behavior of Outstanding Summary report (Chris T, 3601314)

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2013-03-10 10:09:11 UTC (rev 5681)
+++ trunk/LedgerSMB/Form.pm	2013-03-11 10:00:43 UTC (rev 5682)
@@ -1857,7 +1857,7 @@
                                l.city, etl.credit_id
                           FROM eca_to_location etl
                           JOIN location l ON etl.location_id = l.id
-                          WHERE etl.location_class = 2) ecl
+                          WHERE etl.location_class = 1) ecl
                         ON (c.id = ecl.credit_id)
              LEFT JOIN country_tax_form ctf ON (c.taxform_id = ctf.id)
 		 WHERE (lower(e.name) LIKE ?

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.