Status view default sorting

Moderator: crythias

Locked
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Status view default sorting

Post by aph »

How do I set default sorting of tickets is status view by Changed?

Ticket::Frontend::AgentTicketStatusView###SortBy::Default doesn't provide me the option
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
eandrex
Znuny expert
Posts: 213
Joined: 04 Nov 2012, 23:58
Znuny Version: OTRS 4.x
Real Name: Esteban
Company: NORTON DE COLOMBIA

Re: Status view default sorting

Post by eandrex »

you could try creating an xml file with this content

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Changes">
<ConfigItem Name="Ticket::Frontend::AgentTicketQueue###SortBy::Default" Required="1" Valid="1">
        <Description Translatable="1">Defines the default sort criteria for all queues displayed in the queue view.</Description>
        <Group>Ticket</Group>
        <SubGroup>Frontend::Agent::Ticket::ViewQueue</SubGroup>
        <Setting>
            <Option SelectedID="Age">
                <Item Key="Age">Age</Item>
                <Item Key="TicketNumber">TicketNumber</Item>
                <Item Key="Title">Title</Item>
                <Item Key="Queue">Queue</Item>
                <Item Key="EscalationTime">EscalationTime</Item>
                <Item Key="Created">Created</Item>
            </Option>
        </Setting>
    </ConfigItem>
</otrs_config>
and place it in <OTRS_HOME>/Kernel/Config/Files/

after that execute otrs.RebuildConfig.pl and you should see the changes
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: Status view default sorting

Post by aph »

Thanks
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Locked