summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2007-12-05 20:50:21 +0000
committerivan <ivan>2007-12-05 20:50:21 +0000
commit88e392c15739a6d0b2ab1234b8b556d1ab6dd1de (patch)
treebe732970764bc22313427c4e2b02e1e220c30892
parentbdb4c91003d8f726c0d1379d3c77ac02e19945d6 (diff)
doh, order_by does have to include ORDER BY!
-rwxr-xr-xhttemplate/elements/tr-select-reason.html2
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;