diff options
-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 04a5c4582..b57f78a1e 100755 --- a/httemplate/elements/tr-select-reason.html +++ b/httemplate/elements/tr-select-reason.html @@ -141,7 +141,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; |