Fulltext Search extend to query other fields like Ticket Number, etc

English! place to talk about development, programming and coding
Post Reply
nothingtodohere
Znuny newbie
Posts: 3
Joined: 05 Dec 2017, 08:17
Znuny Version: 5.0.15

Fulltext Search extend to query other fields like Ticket Number, etc

Post by nothingtodohere »

Hello,

Currently we're using 5.0 version of OTRS. What we want is to extend the "Fulltext Search" functionality to search / query on other table fields. At the moment it is only searching based on the Article Title & Body.

For example, we also want it to look for Ticket Numbers & queues based on user input. Is this possible? Where should we modify it?

Appreciate your responses.

Thanks guys :)
alexus
Znuny wizard
Posts: 380
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: Fulltext Search extend to query other fields like Ticket Number, etc

Post by alexus »

Hello,

1. Fulltext search first searches for the ticket number
2. You should modify ./otrs/Kernel/Modules/AgentTicketSearch.pm (from line 492 - my $TicketObject = $Kernel::OM->Get('Kernel::System::Ticket');h)
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
nothingtodohere
Znuny newbie
Posts: 3
Joined: 05 Dec 2017, 08:17
Znuny Version: 5.0.15

Re: Fulltext Search extend to query other fields like Ticket Number, etc

Post by nothingtodohere »

Thank you so much Alexus!

will try to start from the file you mentioned :)

Thanks,
Cedric
Post Reply