Activate SharePoint Search refiner count

SharePoint refiner web part has a great hidden feature that shows the count of search refiners, despite being included in the web part there is no graphical user interface to turn it on.

To get the refiners count you will need to manually modify the display template file used by the web part, following the instructions below.

  1. Open the Site Settings of the root site in your site collection
  2. In the Web Designer Galleries click on Master pages and page layouts
  3. Open the Display Templates folder
  4. Open the Filters Folder
  5. Locate the Filter_Default.html and download a copy
  6. Edit the file, and locate the code below
  7. this.Options = {
            ShowClientPeoplePicker: false,
            ShowCounts: false
    };
  8. Modify the ShowCounts property to true and Save the file
    ShowCounts: true
  9. In the SharePoint ribbon click Files and then Upload Document
  10. Once uploaded click Save

The refiner count will be visible in your next search as shown in the image below.


Designed by Freepik


No comments yet

Leave a Reply


I've been working with Microsoft Technologies over the last ten years, mainly focused on creating collaboration and productivity solutions that drive the adoption of Microsoft Modern Workplace.

%d bloggers like this: