[freeside-commits] freeside/httemplate/elements tr-select-reason.html, 1.6, 1.7

Ivan,,, ivan at wavetail.420.am
Wed Dec 5 12:50:22 PST 2007


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail:/tmp/cvs-serv20902

Modified Files:
	tr-select-reason.html 
Log Message:
doh, order_by does have to include ORDER BY!

Index: tr-select-reason.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-select-reason.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- tr-select-reason.html	5 Dec 2007 20:47:48 -0000	1.6
+++ tr-select-reason.html	5 Dec 2007 20:50:20 -0000	1.7
@@ -141,7 +141,7 @@
   extra_sql => $extra_sql,
   addl_from => 'LEFT JOIN reason_type '.
                ' ON reason_type.typenum = reason.reason_type',
-  order_by  => 'reason_type.type ASC, reason.reason ASC',
+  order_by  => 'ORDER BY reason_type.type ASC, reason.reason ASC',
 });
 
 my $curuser = $FS::CurrentUser::CurrentUser;



More information about the freeside-commits mailing list