Reverse the order of SLAs

Moderator: crythias

Locked
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Reverse the order of SLAs

Post by Gunjan »

Hi,

I am using otrs 3.3.4. I want to modify something regarding SLAs. Currently when we create new ticket, SLA comes in the form:
A
B
C
D

Now I want to reverse the order, means I want that SLAs should come in the following order:
D
C
B
A

Is there any possibility to do this? Thank you in Advance.

Regards,
Gunjan
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: Reverse the order of SLAs

Post by reneeb »

Add

Code: Select all

SortReverse    => 1,
to the BuildSelection calls in the if/else near https://github.com/OTRS/otrs/blob/rel-3 ... e.pm#L2265
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
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Reverse the order of SLAs

Post by Gunjan »

thank you so much :)
Locked