[Rt-commit] rt branch, 4.0/cli-list-array-fix, updated. rt-4.0.0-183-g3f71b4a
? sunnavy
sunnavy at bestpractical.com
Fri May 6 10:53:23 EDT 2011
The branch, 4.0/cli-list-array-fix has been updated
via 3f71b4ac7fa0ded0b16ba459de5dd621207d8a60 (commit)
from ab9fa81840f9cee3967911611fd0d3ef8e28eccc (commit)
Summary of changes:
share/html/REST/1.0/search/ticket | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 3f71b4ac7fa0ded0b16ba459de5dd621207d8a60
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri May 6 22:51:03 2011 +0800
use ', ' as seperator consistently
diff --git a/share/html/REST/1.0/search/ticket b/share/html/REST/1.0/search/ticket
index 2129ed6..77160b3 100755
--- a/share/html/REST/1.0/search/ticket
+++ b/share/html/REST/1.0/search/ticket
@@ -133,10 +133,10 @@ while (my $ticket = $tickets->Next) {
# Cut off the annoying ticket/ before the id;
$key_values->{'id'} = $id;
$output .= join("\t", map { ref $key_values->{$_} eq 'ARRAY' ?
-join( ' ', @{$key_values->{$_}} ) : $key_values->{$_} } @$order)."\n";
-
+join( ', ', @{$key_values->{$_}} ) : $key_values->{$_} } @$order)."\n";
- } else {
+
+ } else {
$output .= $ticket->Id . ": ". $ticket->Subject . "\n";
}
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list