[Rt-devel] PATCH RT 3.2.2 Edit Multiple Values CF doesn't display correctly

Todd Chapman rt at chaka.net
Wed Oct 6 11:43:55 EDT 2004


When you edit an 'Enter Multiple Values' custom field
all values are displayed on one line and will be saved
as one entry. Here is a patch:

*** EditCustomField.orig        Wed Oct  6 12:22:26 2004
--- EditCustomField     Wed Oct  6 12:22:44 2004
***************
*** 60,66 ****
  % my $content;
  % if ($TicketObj) {
  %          while (my $value = $Values->Next ) {
! %                 $content .= $value->Content;
  %           }
  % } elsif ($Default) {
            value="<%$Default ? $Default : ''%>"
--- 60,66 ----
  % my $content;
  % if ($TicketObj) {
  %          while (my $value = $Values->Next ) {
! %                 $content .= "\n" . $value->Content;
  %           }
  % } elsif ($Default) {
            value="<%$Default ? $Default : ''%>"



More information about the Rt-devel mailing list