What fields are included in tickets search?

  • John McNeill
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 5 months ago - 11 years 5 months ago #33427 by John McNeill
What fields are included in tickets search? was created by John McNeill
in the front-end tickets list, what ticket fields are included in the search when text is entered in the search input field?

I would like to be able to enter a ticket-ID in the search input field then when clicking "Go", include a matching ticket-ID, if any, in the returned search results.
Last edit: 11 years 5 months ago by John McNeill. Reason: clarification

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #33478 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: What fields are included in tickets search?
Hi

By default, the system search by the following fields :

$config = array('a.name', 'a.email', 'c.username', 'a.subject', 'a.message');

So it it name, email, username, subject , message . If you want it to search by id, please submit a support ticket sending me FTP account of your site so that I can edit the code to make it works for you !

Tuan

Please Log in or Create an account to join the conversation.

  • John McNeill
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 4 months ago #33500 by John McNeill
Replied by John McNeill on topic Re: What fields are included in tickets search?
Hi Tuan,

Thank you for the details and for your offer to make the change for me.

I added "a.id" like this and it works perfectly:

$config = array('a.name', 'a.email', 'c.username', 'a.subject', 'a.message', 'a.id');

I would appreciate it if you would consider making this change in some future HDP enhancement. When there are a lot of tickets for us to address, users often refer to a ticket by its ID and this makes it easy to quickly find it.

John

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #33501 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: What fields are included in tickets search?
Thanks John for your suggestion. This feature is now included in the latest download package of Helpdesk Pro !

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc