[Rt-commit] rt branch, master, updated. rt-3.9.7-1223-gb7a429f
Emannuel Lacour
elacour at bestpractical.com
Wed Jan 19 12:17:42 EST 2011
The branch, master has been updated
via b7a429f46d9d7290c4af53a24d837214426fddf6 (commit)
from fcec6062c9b3ae6766200e8b5e28fd45712fcaef (commit)
Summary of changes:
share/html/Search/Elements/PickCFs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit b7a429f46d9d7290c4af53a24d837214426fddf6
Author: Emmanuel Lacour <elacour at easter-eggs.com>
Date: Wed Jan 19 18:17:05 2011 +0100
Sort CF by name in query builder (closes: #16437)
diff --git a/share/html/Search/Elements/PickCFs b/share/html/Search/Elements/PickCFs
index bca75c8..7120d72 100644
--- a/share/html/Search/Elements/PickCFs
+++ b/share/html/Search/Elements/PickCFs
@@ -67,6 +67,8 @@ foreach my $id (keys %cfqueues) {
$CustomFields->LimitToQueue($queue->Id);
}
$CustomFields->LimitToGlobal;
+$CustomFields->OrderBy( FIELD => 'Name', ORDER => 'ASC' );
+
$m->callback(
CallbackName => 'MassageCustomFields',
CustomFields => $CustomFields,
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list