here are my codes. what I want to happen is to show all tickets (with space or wrong spelling) EXCEPT with problem location (Dynamic Field locprob) with NSLUZ, VISMIN, GMA.
when it compiled. it only hide the GMA,
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Application">
<ConfigItem Name="DashboardBackend###730-OTHERS" Required="0" Valid="1">
<Description Lang="en">Parameters for the dashboard backend. ...</Description>
<Description Lang="de">Parameter für das Dashboard Backend. ... </Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Dashboard</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::DashboardTicketGeneric</Item>
<Item Key="Title">Others</Item>
<Item Key="Description">Others</Item>
<Item Key="Attributes">StateIDs=1;StateIDs=4;StateIDs=6;StateIDs=7;StateIDs=8;StateIDs=9;StateIDs=10;StateIDs=11;StateIDs=12;DynamicField_locprob_Not=VISMIN;DynamicField_locprob_Not=NSLUZ;DynamicField_locprob_Not=GMA;</Item>
<Item Key="Filter">All</Item>
<Item Key="Time">Age</Item>
<Item Key="Limit">10</Item>
<Item Key="Permission">rw</Item>
<Item Key="Block">ContentLarge</Item>
<Item Key="Group"></Item>
<Item Key="Default">1</Item>
<Item Key="CacheTTLLocal">0.5</Item>
<Item Key="DefaultColumns">
<Hash>
<Item Key="Age">1</Item>
<Item Key="Changed">1</Item>
<Item Key="CustomerID">1</Item>
<Item Key="CustomerName">1</Item>
<Item Key="CustomerUserID">1</Item>
<Item Key="EscalationResponseTime">1</Item>
<Item Key="EscalationSolutionTime">1</Item>
<Item Key="EscalationTime">1</Item>
<Item Key="EscalationUpdateTime">1</Item>
<Item Key="TicketNumber">2</Item>
<Item Key="Lock">1</Item>
<Item Key="Owner">1</Item>
<Item Key="PendingTime">1</Item>
<Item Key="Queue">2</Item>
<Item Key="Responsible">1</Item>
<Item Key="Priority">1</Item>
<Item Key="Service">1</Item>
<Item Key="State">2</Item>
<Item Key="SLA">1</Item>
<Item Key="Title">1</Item>
<Item Key="Type">1</Item>
<Item Key="DynamicField_locprob">2</Item>
</Hash>
</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
Code: Select all
my %Operators = (
Equals => '=',
GreaterThan => '>',
GreaterThanEquals => '>=',
SmallerThan => '<',
SmallerThanEquals => '<=',
Not => '!=',
);