Kayako logo
Feature Requests Have a feature request for SupportSuite, eSupport and LiveResponse? Post in here.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
nphase Offline
New Member
 
Posts: 11
Join Date: Jul 2008
Changing Default Quick Search - 22-07-2008, 07:36 PM

Hello all,
I've just been installing and tweaking kayako instance when it occurred to me that the quick-search does not search the contents of notes.

Our company uses notes heavily, and it would be great if there was a method of changing that search default message to search both for the support post/reply content but also the content of all of the notes. It seems as if the only way to search the notes is by the advanced search, and even then it is solely a single-column search as opposed to a comprehensive search.

Any ideas? and if it doesn't exist, could someone perhaps point me to the functions I need to hash together to make this happen?

(v3.20.02)
   
Reply With Quote
  (#2) Old
nphase Offline
New Member
 
Posts: 11
Join Date: Jul 2008
24-07-2008, 07:26 PM

I went ahead and hacked in a search to include notes within the page index, as well as highlight the notes in the search. If anyone is interested, feel free to let me know and I'll make a diff.
   
Reply With Quote
  (#3) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 651
Join Date: Dec 2007
Location: Idaho
24-07-2008, 11:10 PM

I'd like to see that, actually.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#4) Old
nphase Offline
New Member
 
Posts: 11
Join Date: Jul 2008
25-07-2008, 04:53 AM

When I get back to the office I'll make a diff,
but the gist of it is, on submission of a note, use the built in function to insert all the individual words into the wordlist+hash tables, and copy over the highlight functions and prepare loop used to render highlighting from the actual reply display section also into the notes display section. The built in function uses the post id of the first post in the thread you're posting to as the ref id in the hash table.

Yes, it's an 'ugly' hack (especially the last bit). But what else would you have me do? make an index table just for notes? The reason I did it this way was that after a while I realized it doesn't actually matter (correct me if I'm wrong here) that the hash table is using the post id instead of the ticket/thread id, because when you run a search, it's going to display the result as a ticket and highlight all the instances of the query in the entire ticket rather than just the post that it found the word for (yes - i realize that it wouldve found it for all the posts... but again thats introducing uneeded complexity into the situation). Probably a better way would just be to change or add the field to be ticket id as opposed to post id, and that way would thus make my dirty hack more bearable :P (jk!)

Off topic, I really dislike the wordlist+hash table method for searching. I understand why you've done it, but the fact alone that it prevents substring or partial completion searches is a big hinderance. searching for "test" really should (although with a lower relevance level) return "testing" as well. The highlighting also follows those rules, it only highlights "test" and not "testing"... but I'm sure there was reasoning behind that as well.

On another note, thanks for replying. I hate feeling like I'm being ignored.
   
Reply With Quote
  (#5) Old
Jamie Edwards Online
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,440
Join Date: Jan 2006
Location: United Kingdom
25-07-2008, 07:20 PM

Moved to the feature requests forum.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#6) Old
nphase Offline
New Member
 
Posts: 11
Join Date: Jul 2008
25-07-2008, 07:35 PM

John, how would you like me to post the diff?
   
Reply With Quote
  (#7) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 651
Join Date: Dec 2007
Location: Idaho
25-07-2008, 08:03 PM

Doesn't really make a difference. I'd actually prefer an email of the file un-diffed, because I want to compare it to several other things too, but if not, I can reconstitute it.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#8) Old
nphase Offline
New Member
 
Posts: 11
Join Date: Jul 2008
25-07-2008, 10:37 PM

Be right over to ya.
   
Reply With Quote
Reply

Tags
default, quick, search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free How to track Search Terms smartohana Modifications & Addon Releases 3 26-06-2008 01:56 PM
Changing default department when submitting ticket sqzdog How do I? 3 03-08-2007 02:42 PM
Changing a template to default one SoFiMaN SupportSuite, eSupport and LiveResponse 4 07-05-2007 12:13 AM
Ticket View -> Quick Search: Is there a way to set the default criteria? richm How do I? 0 30-04-2007 03:22 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


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 47