Kayako Logo
Developers & Code Interested in customizing your Kayako products? Discuss modifications and develop your own mods with the community.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
Jemrada Offline
Member
 
Posts: 71
Join Date: Aug 2006
Location: Alabama

SupportSuite
Owned License
Client Side Ticket Search and Filter - 20-03-2007, 11:57 PM

Hello everyone,

I have taking my time and money and developed a Small Filter by Status and Ticket Search for my system.

Here they are below. Feel free to use and always remember to backup any files you need to upload over.

A donation for these would be greatly appreciated. You can send it to paypal at lucnetsolutions dot com

PM me with any issues or questions on this.

**UPDATED 04/21/07**
Status Filter and Ticket Search are now all in one pack.

changes:

- ticket search won't handle empty queries anymore.
- ticket search returns tickets with masked id instead of real one.
- ticket search by id searches by masked id.
- ticket search should search in all tickets the user is a manager.
- status filtering switcher transformed to dropdown select to handle big amount of ticket status variants.

--> DOWNLOAD HERE <--
Password: Kayako

Let me know if you have any issues.

Last edited by Jemrada : 21-04-2007 at 07:25 PM.
   
Reply With Quote
  (#2) Old
rrnworks Offline
Member
 
Posts: 44
Join Date: Oct 2005

21-03-2007, 04:43 AM

Wow, thank you! Maybe Kayako should hire you! Such a simple fix, why can't Kayako address such basic feature requests??
   
Reply With Quote
  (#3) Old
Jemrada Offline
Member
 
Posts: 71
Join Date: Aug 2006
Location: Alabama

SupportSuite
Owned License
21-03-2007, 11:03 AM

I wish I could answer that question for you. Allot of Kayako client have been asking the same thing.
   
Reply With Quote
  (#4) Old
jpuff Offline
Member
 
Posts: 77
Join Date: Aug 2006

23-03-2007, 01:47 PM

Thanks for this.

Does the search tickets find any ticket or just that users ticket?

Thanks,
Jonathon
   
Reply With Quote
  (#5) Old
Jemrada Offline
Member
 
Posts: 71
Join Date: Aug 2006
Location: Alabama

SupportSuite
Owned License
23-03-2007, 02:44 PM

It follows the rules of the user settings. If it is your standard registered user it will search there tickets only. If they are a manager they will search all the tickets for what the manager is assigned to.

Any bugs you find. Please let me know.
   
Reply With Quote
  (#6) Old
Jamie Edwards Online
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 4,313
Join Date: Jan 2006
Location: UK

SupportSuite
Owned License

23-03-2007, 04:06 PM

Thank you for your contribution, Jemrada.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • New to the forum? New user's guide here.
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
   
Reply With Quote
  (#7) Old
Jemrada Offline
Member
 
Posts: 71
Join Date: Aug 2006
Location: Alabama

SupportSuite
Owned License
27-03-2007, 10:11 AM

Thanks, I hope it will be able to be used effectively.
   
Reply With Quote
  (#8) Old
pluk77 Offline
New Member
 
Posts: 20
Join Date: Jun 2003

Ticket ID - 27-03-2007, 10:20 AM

We have set our Ticket ID to use random numbers. i see that the ticket ID Search uses the sequential Internal Ticket ID. Am I correct?
   
Reply With Quote
  (#9) Old
pluk77 Offline
New Member
 
Posts: 20
Join Date: Jun 2003

27-03-2007, 10:28 AM

I have just inserted both the patches and they work perfect. Well documented!

Could you please have a look at that Ticket ID issue (if you have some time) as that would make the search Patch work for all users of Kayako.
   
Reply With Quote
  (#10) Old
Jemrada Offline
Member
 
Posts: 71
Join Date: Aug 2006
Location: Alabama

SupportSuite
Owned License
27-03-2007, 10:48 AM

It depends on what ID they are going to search by. ID in common is a unique identifier of some object in a collection. It's a constraint in a database table and is a key field. that is what `ticketid` stands for. My version meant to search by ID as unique ticket identifier in the database. ZYM-313490 is not such ID, it's a code the script issue to a ticket. If they treat it as an ID and are going to use it for searching though the database then the corrections below should work. Besides, in such case I'd suggest to change ticked ID in the results to show the same constraint to identify a ticket (the one written with bold in results).

You can change the code in search.php

Code:
  case "ticketid": 
    $query = 'SELECT `ticketid`, `subject` FROM`'.TABLE_PREFIX.'ticketposts` WHERE 1 '.$limit_to_recent_user." AND`ticketid` LIKE '%".$_POST["s_query"]."%'"; break;
to

Code:
  case "ticketid":
    $query = 'SELECT `ticketid`, `subject` FROM `'.TABLE_PREFIX.'tickets`WHERE 1 '.$limit_to_recent_user." AND `ticketidmaskid` LIKE'%".$_POST["s_query"]."%'"; break;
Let me know if that helps.

I have not tested this part, so if it doesn't work let me know and we can go from there.

Last edited by Jemrada : 27-03-2007 at 10:56 AM.
   
Reply With Quote
  (#11) Old
richm Offline
Member
 
richm's Avatar
 
Posts: 387
Join Date: Jan 2007
Location: Orange County, CA

27-03-2007, 07:57 PM

Nice work Jemrada!

I've implemented the search, haven't tried the filter yet.

As a suggestion (since I'm not a coder) would it be possible to send the results of the search back to a page like:

Dashboard » Templates » searchresultdisplay (the page you get (i think) when you do a kb search)

Rather than the blank white page with just "o Ticket # 91"

Would be nice to have the "back" link at the bottom etc.

Just a thought.

Cheers!

Rich


--
Features I need asap:
1) Ticket search in the client portal!
2) Column display in client portal showing clients email address or name
3) Downloads by client
(i.e. - each client has their own download area and can't see/touch downloads for any other client.) This would be on top of a "public" download area.
4) Integrated KB image uploads
The ability for staff to upload images with a KB articles.
Cheers!
   
Reply With Quote
  (#12) Old
Jemrada Offline
Member
 
Posts: 71
Join Date: Aug 2006
Location: Alabama

SupportSuite
Owned License
27-03-2007, 08:03 PM

It shouldn't be loading a white page. Sounds like you are not calling on the javascript files. Please check you have these set correctly.

Did you upload javascript folder to root or kayako installed directory?
   
Reply With Quote
  (#13) Old
richm Offline
Member
 
richm's Avatar
 
Posts: 387
Join Date: Jan 2007
Location: Orange County, CA

27-03-2007, 08:13 PM

Ahh.. Good call. My oversight. I'm now getting the results below the search box, in the same page.

Thank you!


--
Features I need asap:
1) Ticket search in the client portal!
2) Column display in client portal showing clients email address or name
3) Downloads by client
(i.e. - each client has their own download area and can't see/touch downloads for any other client.) This would be on top of a "public" download area.
4) Integrated KB image uploads
The ability for staff to upload images with a KB articles.
Cheers!
   
Reply With Quote
  (#14) Old
richm Offline
Member
 
richm's Avatar
 
Posts: 387
Join Date: Jan 2007
Location: Orange County, CA

27-03-2007, 11:08 PM

The filter mod breaks the new sort by feature for me.
I've installed/un-installed/re-installed 3 times to make sure I'm not leaving out a step somewhere. Same result.

The mod itself works (New/Open/Closed etc. buttons are there and appear to work)

But once installed, I can no longer click on the column names in the ticket list to sort by that column in either ascending or descending order. Ticket id / last replier / Status / Priority / Department

Looks like maybe I have a slightly later version of client_tickets.php? (see below)

//=======================================
//###################################
// Kayako Web Solutions
//
// Source Copyright 2001-2004 Kayako Web Solutions
// Unauthorized reproduction is not allowed
// License Number: $%LICENSE%$
// $Author: mslaria $ ($Date: 2007/02/22 08:41:10 $)
// $RCSfile: client_tickets.php,v $ : $Revision: 1.21 $
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// www.kayako.com
//###################################
//=======================================

Rich


--
Features I need asap:
1) Ticket search in the client portal!
2) Column display in client portal showing clients email address or name
3) Downloads by client
(i.e. - each client has their own download area and can't see/touch downloads for any other client.) This would be on top of a "public" download area.
4) Integrated KB image uploads
The ability for staff to upload images with a KB articles.
Cheers!
   
Reply With Quote
  (#15) Old
Jkeairns Offline
New Member
 
Posts: 5
Join Date: Feb 2007

28-03-2007, 11:51 AM

I am also in need of some customization of Kayako and do not have the staff to do it. have a need for duplicate tickets and have tested the process from the database level. I can duplicate everything in a ticket including the HASH ID and have multiple assignments on a single ticket. Of course I can't duplicate the autoincrement field but everything else works fine. By having duplicates I can group tickets for audit purposes and not over burden the label system. I could use some assistance in coding the changes and would hire anyone that i swilling to assist. This would need to be available for staff during an add or update of a ticket. Possibly a field that a number is entered that indicates how many duplicates. If you are interested let me know how to pay you.
   
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Kayako provides online help desk software and support solutions; enabling companies to improve their support and reduce costs.

Our three main products include: SupportSuite, eSupport and LiveResponse



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46