There are two search modes that come with the expertrec custom search
- Search overlay mode. (search results will load on the same page)
- Search results on another page.(search results will load on another page).
The default UI is the overlay UI where the search results pops up in the same page.
Here are steps to move to search results on another page.
- Go to UI customization-> search layout.
- Under Layout-> Choose “search result on another page”.
- Under search result path, enter the search path of your search results page. For example- search result path is :”/search-results/“ if your search results have the URL format http://providerconnection.davisvision.com/search-results/?q=lense
- Enter you query parameter.If your search URL has the format http://providerconnection.davisvision.com/search-results/?q=lense
- Now click on apply and get the new code. The code has three parts-
- has to be added where the search box has to be appear.1<ci-search></ci-search>
- has to be added in pages where the search results have to appear.1<ci-search-results></ci-search-results>
- The code containing has to be added on all pages.