[SOLVED] Ticket status view

Moderator: crythias

Locked
Froggy
Znuny newbie
Posts: 5
Joined: 24 Apr 2015, 14:30
Znuny Version: 4.0.7
Real Name: M
Company: S

[SOLVED] Ticket status view

Post by Froggy »

Hello all,
I added a few new ticket_states in mysql and followed https://otrs.github.io/doc/manual/admin ... tings.html to add my new state's.

But what do i edit to get the new states listed in Tickets->Status-View
All i see are tabs for Open and Closed

Google fails so hope anyone here knows cheers
Last edited by Froggy on 26 Apr 2015, 16:53, edited 1 time in total.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Ticket status view

Post by reneeb »

Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Froggy
Znuny newbie
Posts: 5
Joined: 24 Apr 2015, 14:30
Znuny Version: 4.0.7
Real Name: M
Company: S

Re: Ticket status view

Post by Froggy »

Thanks added them there although i still dont se them in the predefined filters its only Open and Closed still.

You perhaps know what else i need to edit ?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Ticket status view

Post by reneeb »

Please show the current version of your file...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Froggy
Znuny newbie
Posts: 5
Joined: 24 Apr 2015, 14:30
Znuny Version: 4.0.7
Real Name: M
Company: S

Re: Ticket status view

Post by Froggy »

Code: Select all

  my %Filters = (
        Open => {
            Name   => 'Open tickets',
            Prio   => 1000,
            Search => {
                StateType  => 'Open',
                OrderBy    => $OrderBy,
                SortBy     => $SortBy,
                UserID     => $Self->{UserID},
                Permission => 'ro',
            },
        },
        Lack => {
            Name   => 'Ute på Lack',
            Prio   => 1000,
            Search => {
                StateType  => 'Lack',
                OrderBy    => $OrderBy,
                SortBy     => $SortBy,
                UserID     => $Self->{UserID},
                Permission => 'ro',
            },
        },

        Frakt => {
            Name   => 'Open tickets',
            Prio   => 1000,
            Search => {
                StateType  => 'Frakt',
                OrderBy    => $OrderBy,
                SortBy     => $SortBy,
                UserID     => $Self->{UserID},
                Permission => 'ro',
            },
        },

 Material_Slut => {
            Name   => 'Slut på material',
            Prio   => 1000,
            Search => {
                StateType  => 'Material_Slut',
                OrderBy    => $OrderBy,
                SortBy     => $SortBy,
                UserID     => $Self->{UserID},
                Permission => 'ro',
            },
        },



        Closed => {
            Name   => 'Closed tickets',
            Prio   => 1001,
            Search => {
                StateType  => 'Closed',
                OrderBy    => $OrderBy,
                SortBy     => $SortBy,
                UserID     => $Self->{UserID},
                Permission => 'ro',
            },
        },
    );


Froggy
Znuny newbie
Posts: 5
Joined: 24 Apr 2015, 14:30
Znuny Version: 4.0.7
Real Name: M
Company: S

Re: Ticket status view

Post by Froggy »

Solved it myself
i forgot to change Prio to a uniqe number
Froggy
Znuny newbie
Posts: 5
Joined: 24 Apr 2015, 14:30
Znuny Version: 4.0.7
Real Name: M
Company: S

Re: [SOLVED] Ticket status view

Post by Froggy »

Changed to [SOLVED] manual not sure if that how you do it.
Locked