Renewal Calendar custom filter not filtering

Damian9
Tera Contributor

Hi, maybe there are some of you who had similar issue.
I got problem with creating custom filter in Software Asset Workspace in Renewals Calendar.  We've tried to add new filter for vendors by cloning existing Publisher filter, but with adjusted filter source and data to filter. I've adjusted also filterSelect Client Script and filterTypeSelected Client state. Problem is there is no update on the timeline (@data.renewal_calendar_assets_1.output.metadata isn't populated well with filtering I wish)

To get a filter in console I've updated applyCategoryFilters with following code, so I know the criteria are alright:

 

console.log ("\napi.setState('parFilters', ({ currentValue }) => {\n\tconst { payload: { appliedFilters }} = event;\n\treturn imports['global.mergePARFilters']()(currentValue, appliedFilters);\n});\n\nmergePARFilters returns:",imports['global.mergePARFilters']()(currentValue, appliedFilters));

console.log("api.setState('categoryFilters', [event.elementId, event.payload.appliedFilters[0].values]);\n\n[event.elementId, event.payload.appliedFilters[0].values]:", [event.elementId, event.payload.appliedFilters[0].values]);

 

Issue is, that despite seemingly similar queries for ootb and custom filters, custom doesn't filter the records.

I've spent some time already on checking client script includes but no success, since these are not really editable.

Thanks in advance for everyone who tries to help

1 REPLY 1

Alessio_p4m
Tera Contributor

Hi, did you find a solution on this?