Search for Duplicates on KB articles not working

Nitin_NOW
Tera Guru

Hello Everyone

We have an issue with 'Search for Duplicates' UI action button. As per OOTB code we have, the search results are based on Short description, category and Article type. As per our business need I was told to restrict the search only for 'Short Description'. I have just removed current.topic, current.type from the query.

if (current.changes())

  current.update();

// redirect to view article

gs.setRedirect("kb_find.do?sysparm_search=" + encodeURI(current.short_description) + "&sysparm_operator=IR_OR_QUERY&sysparm_order=relevancy&sysparm_stack=no&sysparm_query=sys_id!=" + current.sys_id);

I see this is not working and my search results are still coming out based on category and article type. Is there anything i have do more ?

Regards!

7 REPLIES 7

Its not the same as a database query.   ?sysparm_search= is basically just pre-populating the search field, which then operates by its own rules.


Ahh ok. So, how can we we overcome this ? Do I need to search for any other scripts, rules? I did not find any of such kind.


Hello Robert



Any updates on this again?



Regards!