[Rt-commit] rt branch 5.0/user-cf-values-separator-in-tsv created. rt-5.0.3-231-ga90fbde9af
BPS Git Server
git at git.bestpractical.com
Tue Jan 31 19:21:27 UTC 2023
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".
The branch, 5.0/user-cf-values-separator-in-tsv has been created
at a90fbde9afdb60bbc793643c566e29844d5a92d5 (commit)
- Log -----------------------------------------------------------------
commit a90fbde9afdb60bbc793643c566e29844d5a92d5
Author: sunnavy <sunnavy at bestpractical.com>
Date: Wed Feb 1 02:51:00 2023 +0800
Add the same separator as ticket cfs for user cfs in Spreadsheet
Previously values were tightly concatenated together in .tsv file, which
was confusing. This commit adds extra spaces in that case, just like
ticket custom field values.
It works with both Spreadsheet and Excel(via ExcelFeed extension).
diff --git a/share/html/Elements/ColumnMap b/share/html/Elements/ColumnMap
index da1f866efe..6e78319b79 100644
--- a/share/html/Elements/ColumnMap
+++ b/share/html/Elements/ColumnMap
@@ -140,7 +140,7 @@ my $role_value = sub {
return @values if @values <= 1;
if ($cf_name) {
- @values = map { \"<li>", $_, \"</li>" } @values;
+ @values = map { \"<li>", $_, \"</li> \n" } @values;
@values = ( \"<ul class='cf-values'>", @values, \"</ul>" );
}
else {
-----------------------------------------------------------------------
hooks/post-receive
--
rt
More information about the rt-commit
mailing list