Page 1 of 1

Filtering Multiple Related-item

Posted: 19 Mar 2019
by ksertkaya
Hello,

I have multiple related-item. I want to dynamic filtering both of lists but do only second. How can I filtering multiple related-item?


Code: Select all


if (value == "(None)") {
value = "";
}
value =  encodeURIComponent(escape(value)).replace(/\-/g, "%252D");
window.location.hash = "InplviewHash" + $(".ncrTable [webpartid]").attr("webpartid") + '=FilterField=Year-FilterValue=' + value;
window.location.hash = "InplviewHash" + $(".indirectNcrTable [webpartid]").attr("webpartid") + '=FilterField=Year-FilterValue=' + value;
}
Best regards.

Re: Filtering Multiple Related-item

Posted: 19 Mar 2019
by ksertkaya
It is very emergency topic. Could you help me today?

Re: Filtering Multiple Related-item

Posted: 19 Mar 2019
by AlexZver
Hi!

Please try the approach described in this topic: viewtopic.php?f=1&t=2235&p=7127&hilit=w ... hash#p7127

The second filter overrides the first filter so you should concatenate them.

Re: Filtering Multiple Related-item

Posted: 19 Mar 2019
by ksertkaya
Thanks a lot :)