[OTRS6]Default Sorting on Agent Dashboard
Moderator: crythias
-
- Znuny newbie
- Posts: 5
- Joined: 27 Sep 2017, 12:11
- Znuny Version: sixsisx
[OTRS6]Default Sorting on Agent Dashboard
Hi, I just converted to Version 6 to see how it looks. Whoever thought that the System Settings in OTRS are too hard to understand, has not seen Version 6 yet . Nervermind, where do I find the setting to change the default sorting order on the Agent Dashboard. Currently it's age, ascending but I like to have it descending.
BR
Vince
BR
Vince
Re: [OTRS6]Default Sorting on Agent Dashboard
Hi,
this should be configurable in new System Configuration
Frontend > Agent > View > Dashboard
Florian
this should be configurable in new System Configuration
Frontend > Agent > View > Dashboard
Florian
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
-
- Znuny newbie
- Posts: 5
- Joined: 27 Sep 2017, 12:11
- Znuny Version: sixsisx
Re: [OTRS6]Default Sorting on Agent Dashboard
Thanks, for the reply.
I've tried to edit
DashboardBackend###0130-TicketOpen (which I assume is the view I'm referring to) and added a new Key/Value
Sort -> Sortby=Age but no luck. No Idea how to say Age descending or ascending. But Still, wrong direction
I've tried to edit
DashboardBackend###0130-TicketOpen (which I assume is the view I'm referring to) and added a new Key/Value
Sort -> Sortby=Age but no luck. No Idea how to say Age descending or ascending. But Still, wrong direction
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 3964
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: [OTRS6]Default Sorting on Agent Dashboard
Hi,
It's always a good idea to take in look into the source code (see the parameter module)
https://github.com/OTRS/otrs/blob/maste ... ic.pm#L613
- Roy
It's always a good idea to take in look into the source code (see the parameter module)
https://github.com/OTRS/otrs/blob/maste ... ic.pm#L613
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 5
- Joined: 27 Sep 2017, 12:11
- Znuny Version: sixsisx
Re: [OTRS6]Default Sorting on Agent Dashboard
Thanks roy,
yes, it's always a good idea to look into the sources, but in a project this large - it's nearly impossible for a non-otrs developer to find the right file/spot. But I finally made it, thanks to your advice, changing Line 618 to changes the default sort order.
yes, it's always a good idea to look into the sources, but in a project this large - it's nearly impossible for a non-otrs developer to find the right file/spot. But I finally made it, thanks to your advice, changing Line 618 to
Code: Select all
$TicketSearch{OrderBy} = $TicketSearch{OrderBy} || 'Down';
-
- Administrator
- Posts: 3964
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: [OTRS6]Default Sorting on Agent Dashboard
Hi,
I recommend not to change the code, the link was only for information on parameters. You can add the parameter to the SysConfig and you change will survive updates
- Roy
I recommend not to change the code, the link was only for information on parameters. You can add the parameter to the SysConfig and you change will survive updates
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: [OTRS6]Default Sorting on Agent Dashboard
that was not the idea to change the code. It just shoulkd help you to find the correct names for sysconfig
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 5
- Joined: 27 Sep 2017, 12:11
- Znuny Version: sixsisx
Re: [OTRS6]Default Sorting on Agent Dashboard
I'm a pragmatic guy. I need things to work. But please, I want to learn. How do I know, by looking at the provided link, that this setting is found under Frontend->Agent->View->TicketStatus? Which doesn't make any sense to me....status != sorting. I only found it by random, while looking for another setting.
-
- Znuny newbie
- Posts: 1
- Joined: 21 Nov 2017, 19:17
- Znuny Version: 6.0.1
Re: [OTRS6]Default Sorting on Agent Dashboard
Thanks, I just upgraded and was trying to figure this out. From looking at the code referenced I was able to set default sorting for the new and open tickets on the dashboard by adding OrderBy=Down; to the Attributes section for the TicketNew and TicketOpen items in the System Configuration.
Admin > System Configuration > Frontend > Agent > View > Dashboard
Admin > System Configuration > Frontend > Agent > View > Dashboard
You do not have the required permissions to view the files attached to this post.