Sorting columns in the QueueView

Moderator: crythias

Locked
weatherbys
Znuny newbie
Posts: 10
Joined: 17 Jun 2010, 13:12
Znuny Version: 2.0.2

Sorting columns in the QueueView

Post by weatherbys »

I am using OTRS 3.0.6 with ITSM.

I have added an extra column, which contain date values ("Created"). In the TicketOverviewSmall.pm file I have added this column to the following line to be output in the template:

Code: Select all

my @Col = (qw(TicketNumber Created FirstResponseTimeDestinationDate SolutionTimeDestinationDate State Owner CustomerID Priority Age));
In the template file (AgentTicketOverviewSmall.dtl) I have added a header for the new columns thus:

Code: Select all

<!-- dtl:block:OverviewNavBarPageCreated -->
  <th class="Created $QData{"CSS"}">
    <a name="OverviewControl" href="$Env{"Baselink"}Action=$Env{"Action"};$Data{"LinkSort"};SortBy=Created;OrderBy=$LQData{"OrderBy"}">$Text{"Created"}</a>
  </th>
<!-- dtl:block:OverviewNavBarPageCreated -->
I have then added the value row thus:

Code: Select all

<td width="8%">
  <div title="$Quote{"$Text{"$Data{"Created"}"}"}">$Quote{"$Text{"$Data{"Created"}"}","30"}</div>
</td>
However, when I click on the column header in my Web browser I get a "No Ticket Data Found" message instead of the tickets being sorted by ascending or descending Create date.

Can anyone explain to me what I have done wrong please?

Thank you.

Dan
Locked