css format for the sorted column

Moderator: crythias

Locked
pokyu01
Znuny newbie
Posts: 58
Joined: 05 Aug 2010, 12:57
Znuny Version: 2.4.7

css format for the sorted column

Post by pokyu01 »

hi there,

in the OTRS Version 3.0 we have created a new skin for customer frontend (.../otrs/customer.pl). Next we have enabled further columns in the CustomerTicketOverView.dtl.

It works good. The data in the new columns can be sort up and down. :-)

Unfortunatelly title of the sorted column has no sort sign. There are neither up nor down arrow. :-(

Has anybody an idea where this property can be configured?

thank you for your assistance.

regards

yury
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: css format for the sorted column

Post by crythias »

if other fields have it, copy the rendered html code.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
pokyu01
Znuny newbie
Posts: 58
Joined: 05 Aug 2010, 12:57
Znuny Version: 2.4.7

Re: css format for the sorted column

Post by pokyu01 »

hi,

here is, I supose, a piece of working code responsable for this functionality.

Code: Select all

...
 <th class="Age $LQData{"AgeSort"}">
       <a href="$Env{"Baselink"}Action=$Env{"Action"};Subaction=$Env{"Subaction"};SortBy=Age;OrderBy=$LQData{"OrderBy"};Filter=$LQData{"Filter"}">
$Text{"Age"}
</a>
...
and this one (that don't work) was copied and customized by me

Code: Select all

...
<th class="SLA $LQData{"SLASort"}">
<a href="$Env{"Baselink"}Action=$Env{"Action"};Subaction=$Env{"Subaction"};SortBy=SLA;OrderBy=$LQData{"OrderBy"};Filter=$LQData{"Filter"}">
$Text{"SLA"}
</a>
</th>
...
According to my "research" OTRS doesn't know the label "SLASort". That is why CSS doesn't work well.

What is here wrong?

regards

yury
Locked