Default filter to a custom related list

ServiceNow10sun
Giga Guru
(function refineQuery(current, parent) {
    current.addQuery('task',parent.sys_id);
	
})(current,parent);

Hi All,

i have created a custom related list  but its not showing the filter in the related list . 

How to add the filter in a related list.

 

Screen shot attached.

1 REPLY 1