Skip to Content
मेन्यू
This question has been flagged
2 Replies
783 Views


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. 

Avatar
Discard
Best Answer

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.

Avatar
Discard
Best Answer

Hi,


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



Regards

Avatar
Discard
Author

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?

Author

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

Author

This didn't work. haha