diff options
author | ivan <ivan> | 2007-12-05 20:50:21 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-12-05 20:50:21 +0000 |
commit | 88e392c15739a6d0b2ab1234b8b556d1ab6dd1de (patch) | |
tree | be732970764bc22313427c4e2b02e1e220c30892 | |
parent | bdb4c91003d8f726c0d1379d3c77ac02e19945d6 (diff) |
doh, order_by does have to include ORDER BY!
-rwxr-xr-x | httemplate/elements/tr-select-reason.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-reason.html b/httemplate/elements/tr-select-reason.html index 9684f37a2..42cd3d5bb 100755 --- a/httemplate/elements/tr-select-reason.html +++ b/httemplate/elements/tr-select-reason.html @@ -121,7 +121,7 @@ my @reasons = qsearch({ 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; |