We have written a custom search module top on dnn provided search api. Please see the attach screen shot for reference.
This module is working fine without any issue.
Recently we have come across to introduce a new feature into this module which we really don’t know how to achieve.
Requirement is as follow:-
When the screen will be loaded first time, this should display all the documents instead of showing empty result set.
Accordingly to attach screen shot, I am passing value of “text” to parameter KeyWords which is null in this condition.
My question is what search term I should pass in this scenario so it will fetch all documets