All pastes #1914997 Raw Edit

Miscellany

public text v1 · immutable
#1914997 ·published 2010-08-11 09:01 UTC
rendered paste body
--- Article.pm.orig     2010-08-11 08:54:37.000000000 +0200
+++ Article.pm  2010-08-11 10:58:14.000000000 +0200
@@ -1566,6 +1566,9 @@
     $Self->{DBObject}->Prepare( SQL => $SQL, Bind => \@Bind );
     my %Ticket = ();
     while ( my @Row = $Self->{DBObject}->FetchrowArray() ) {
+        if ( !$Self->{ConfigObject}->Get('CustomerNotifyJustToRealCustomer') ) {
+          next if ($Row[24] == 3); # System-Nachrichten/Mails nicht anzeigen. Fix from Giese
+        }
         my %Data;
         $Data{ArticleID}                = $Row[33];
         $Data{TicketID}                 = $Row[0];



and




--- Ticket.xml.orig     2010-08-11 11:00:36.000000000 +0200
+++ Ticket.xml  2010-08-11 11:00:42.000000000 +0200
@@ -9437,5 +9437,17 @@
             </Hash>
         </Setting>
     </ConfigItem>
+    <ConfigItem Name="ShowMailArticleInZoom" Required="0" Valid="0">
+        <Description Lang="en">Show Mails for created Tickets in TicketZoom. Disabled per default.</Description>
+        <Description Lang="de">Mails fuer eroeffnete Tickets im TicketZoom anzeigen. Standardmaessig werden sie nicht angezeigt.</Description>
+        <Group>Ticket</Group>
+        <SubGroup>Core::Ticket</SubGroup>
+        <Setting>
+            <Option SelectedID="0">
+                <Item Key="0">No</Item>
+                <Item Key="1">Yes</Item>
+            </Option>
+        </Setting>
+    </ConfigItem>
 </otrs_config>