Page 1 of 1

Custom Fields searching

Posted: Mon Jun 16, 2008 12:18 pm
by tomdawson
Script URL: internally hosted
Version of script: 0.94.1
Hosting company: internal, Windows Server 2003 / IIS+PHP
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: custom search

Write your message below:


Hello there.

We have installed HESK, and it's really fantastic. We have specified some custom fields, such as Serial Number, and were wondering if there's any way to search within these custom fields.

The helpdesk is being used for fault tracking, so it would be great to be able to simply search for an item's serial number to view tickets related to it.

Apologies if this has been discussed or even answered elsewhere, but I couldn't find anything.

Regards,
Tom Dawson

Posted: Wed Jun 18, 2008 9:55 am
by tzes
I'm trying to do the same thing, search on a custom field.

I tried the following:

Code: Select all

/show_tickets.php?custom4=Domain.com
but it did not work. Any hints on how to do it would be appreciated, it would be great if it can be done.

Posted: Sat Jun 21, 2008 10:52 am
by Klemen
Unfortunately it would take more work thank just that, will consider adding this feature to the future versions.

Posted: Sat Jun 21, 2008 12:47 pm
by tzes
I figured out as much, the intend was to see other tickets in the system for the same customer.

Thanks anyway, I like the script. Nice, simple and easy to hack, with some minor mods I can provide support for 6 different hosting companies from a single interface, saves me a ton of time.

Posted: Sat Jun 21, 2008 1:39 pm
by tzes
Actually, I figured it out, it's quite easy, code posted here:

viewtopic.php?p=8562

Posted: Sat Jun 21, 2008 4:37 pm
by Klemen
Thanks for sharing, hopefully others with similar requests can use your code until this is included in the official release.

Posted: Mon Jun 23, 2008 12:54 pm
by tomdawson
Sir, you are a genius.

Many thanks for this code, you've just made Hesk a thousand times more useful than it already is/was...lol.

Cheers,
Tom