跳至内容
菜单
此问题已终结
2 回复
777 查看


So I am trying to create two separate default filters for two menus in the same model.  So I created this "USER DEFINED FILTER" and it appears in my FAVORITES Tab. 


Now I want to set it as the default filter for this view. I know that I need to add it to the context field as a default_search_filter. But I can't seem to find the line of code anywhere that will let me to use its unique identifier. 


Here is me not finding it in the views.





Here is me not finding it in the actions.  




If I'm not mistaken. This: 



Needs to go right here: 




Where do I find the xml code for the FAVORITES filter?  




In the USER DEFINED FILTER searchview there is NO Unique Identifier whereby I would be able to take this filter and add it in as a default filter for two seperate menu items in the same model. 

形象
丢弃
最佳答案

Hello David, 


If you want to check all your favorite filters (User Define Filter). 

In that case, you need to enable the debug mode.

Setting --> Technical --> User-defined Filters 

Thanks.

形象
丢弃
最佳答案

Hi,


The custom filter will be accessible solely in the Search view.



Regards

形象
丢弃
编写者

Thank you so much for your response! I don't see any custom filter in my searchview, I posted an image of my searchview above. Can you check the image of my custom filter above to see if you think I havent configured it right?

编写者

its a user defined filter. Where do I find that?

编写者

This didn't work. haha