SimpleDesk

Community => SimpleDesk Team Blog => Topic started by: tfs on September 06, 2011, 11:35:51 PM

Title: A simple ticket search for SimpleDesk 2.0
Post by: tfs on September 06, 2011, 11:35:51 PM
SimpleDesk is developing a full featured ticket search functionality that we plan to release in a future version.  But since that's still warming in the oven, and searching your trouble tickets can be a real need for a live help desk, I thought I'd release this simple little search utility that can tide you over for now.  It's not fancy in the least, but it works. 

Directions:

1) Download the attached file, simpledesk_search_basic.php
2) Place it in the root folder of your help desk forum.  It must be in the same folder as SSI.php.
3) Browse to the simpledesk_search_basic.php using your web browser.

If you improve upon this file please let us know and share it back with the community.  There's several things that would make it better.

* Search only open/closed/both tickets.
* Search for different strings in different fields, such as Poster="Smith" and Body contains "foobar."
* Date ranges.
* Search custom fields
* Your idea here!

If you'd like a menu option to search, you can of course place a link in a portal block, or if you want a menu button you can create your own or use a 3rd party mod to create a button that links to the simpledesk_search_basic.php file.  I used one called "6 Custom Buttons" version 0.5 and it worked nicely.  6 Custom Buttons v 0.5k only says it's compatible with SMF 2.0 RC3, but last night I installed it on my SimpleMachines Forum 2.0, SimpleDesk 2.0 site with no problems.  Now I have a search button.

A note on security.  Just like in SimpleDesk itself, simpledesk_search_basic.php will not work for guests.  And the results returned will only contain tickets to which the searching user has access.

And lastly, this search utility isn't an official SimpleDesk product.  It's merely little ole TFS having some fun.  So don't expect too much.   ;)

Enjoy!

TFS
Title: Re: A simple ticket search for SimpleDesk 2.0
Post by: howhowell on November 30, 2011, 03:44:36 PM
Thanks, TFS!!
Title: Re: A simple ticket search for SimpleDesk 2.0
Post by: tfs on November 30, 2011, 05:25:27 PM
You're welcome.  Funny that this search just saved my bacon about 10 minutes ago when our accountant read me the riot act because I had 4 billable hours on my timesheet that she couldn't find in a trouble ticket.  I knew that the issue was about a client who had accidentally uninstalled our software from their network server while everyone was logged in, and so I searched for "uninstalled" and found the ticket immediately.  Because it was such an emergency situation I neglected to enter it onto a ticket the day that it happened.  I had made the entries in the ticket a week later when I sent in my timesheet, which is why she couldn't find them.
Title: Re: A simple ticket search for SimpleDesk 2.0
Post by: Tah Zonemaster on December 07, 2011, 11:05:15 AM
Nice work :)
Title: Re: A simple ticket search for SimpleDesk 2.0
Post by: TexMax007 on December 07, 2011, 04:31:30 PM
What time-line can we expect for the full-blown search feature?
Title: Re: A simple ticket search for SimpleDesk 2.0
Post by: venguard223 on December 07, 2011, 08:07:28 PM
given that the guy who wrote most of simpledesk left and that dev activity here is a bit sporadic it might be a while

judging by the commit comments it doesnt even work properly anyway