[SOLVED] Agent ticket search: remove some additonal filters

Moderator: crythias

Post Reply
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

[SOLVED] Agent ticket search: remove some additonal filters

Post by HervE »

Hello forum,

In agent ticket search pop-up, I'd like to remove some additional filters that seem useless for us (such as ticket change time, ticket escalation time, article create time, created in queue).

How could I do that?

I went through AgentTicketSearch.dtl, then AgentTicketSearch.pm, and even sub BuildSelection in Layout.pm, but couldn't find out where exactly the list is.

Does anybody have a clue?

Best regards,
HervE
Last edited by HervE on 20 Oct 2014, 13:48, edited 1 time in total.
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Agent ticket search: remove some additonal filters

Post by RStraub »

Did you try SysConfig -> Ticket -> Frontend::Agent::Ticket::ViewSearch ?

Second to last entry is the default columns, try to disable (set to 0) the columns you don't want to see.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Agent ticket search: remove some additonal filters

Post by HervE »

Thanks for your answer.

Do you mean parameter Ticket::Frontend::AgentTicketSearch###DefaultColumns?
As details mention, "Columns that can be filtered in the ticket search result view of the agent interface."
Modify the columns of the result view is not what I am looking for.

Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Agent ticket search: remove some additonal filters

Post by RStraub »

Yup you are right, sorry.

What you can do though, is go to the AgentTicketSearch.pm and look for the string "Ticket Create Time". It should be in the "push @Attributes" block.

There, you could delete the entries you don't want to see.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Agent ticket search: remove some additonal filters

Post by HervE »

"push @Attributes" block, that's it!

This was exactly the hint I needed.

It works fine, many thanks!

Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: [SOLVED] Agent ticket search: remove some additonal filt

Post by crythias »

Why do you want to remove the ability to search for recently changed tickets? You should show default fields of what are important, but allow a user to (+) when she needs additional criteria.
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
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: [SOLVED] Agent ticket search: remove some additonal filt

Post by HervE »

Because I don't want to "lose" the user in a big list of many criteria to be added that he/she would not master. I just want a shorter list.

Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Post Reply