From: ivan Date: Tue, 23 Mar 2004 00:06:09 +0000 (+0000) Subject: fix sorting of NULL companies differently than empty companies X-Git-Tag: freeside_1_4_2beta1~181 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=ef158b1f6fc60f8e114bb01b82c3de0754fedef2;p=freeside.git fix sorting of NULL companies differently than empty companies --- diff --git a/httemplate/search/report_receivables.cgi b/httemplate/search/report_receivables.cgi index ad353a1b3..0e95ad73c 100755 --- a/httemplate/search/report_receivables.cgi +++ b/httemplate/search/report_receivables.cgi @@ -93,7 +93,7 @@ where 0 < ,0 ) -order by lower(company), lower(last) +order by coalesce(lower(company), ''), lower(last) END