I have the requirement where I need to show related books. if I click on any of the books.
So for that, I have used views
CONTEXTUAL FILTERS with argument
Content: ID and Taxonomy term: Term ID. which is working as expected.
but another requirement is to show random result from the books if the contextual filter result is empty or the result is less than count 4.
Created view with
FILTER CRITERIA Configure filter criterion: Content: Content type -> book