Timeline for How to get the total count of search result in Coveo result template
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 4 at 3:28 | vote | accept | John Lee | ||
Aug 25 at 15:44 | comment | added | John Lee | Hi Sumit, can you elaborate a little bit? I do not see any javascript like the one you show in the result template file. where do I add this code? I also did not understand how could the search has the result and I do not see any code behind the search button. | |
Aug 23 at 15:18 | comment | added | Sumit Bhatia | You can bind it by taking the reference of your element. | |
Aug 23 at 14:28 | comment | added | John Lee | Thanks for the hints. How can I use that inside the template? <script class="result-template" type="text/underscore"> <div> Index: {{= index }} Total: {{= total }} <div> <div class="search-card container coveo-result-item" id="{{= coveoFieldValue("npi") }}"> <div class="provider-details"> | |
Aug 23 at 13:49 | history | answered | Sumit Bhatia | CC BY-SA 4.0 |