Custom Date time refiner template for SharePoint 2013

SharePoint 2013 OOTB display options for DateTime refiners are very limited. By default there are four  display options available for DateTime refiners:

Screen Shot 2015-07-08 at 20.52.31
Slider with bar graph

Continue reading “Custom Date time refiner template for SharePoint 2013”

Advertisements

Showing Refiner Counts In SharePoint 2013\O365 Search

Requirement:

Showing counts for each refiner

By default, search refiners in SharePoint 2013 don’t show a result count.  But in O365 they show up.

Note: o365

If you have Multi-Selection enabled for refiners then they won’t show up. Refer the bottom section to find the respective template to modify.

Solution: For Single Refiner

To enable them we need to alter the filter display template.

  1. _catalogs\masterpage\Filters\Filter_Default.hml
  2. Change the code as below

showCounts:true

 

singlerefiner

Thanks all folks.

Bonus: When Multi-selection is enabled:

Do the same for Filter_MultiValue.html

refiners_counts

Powered by WordPress.com.

Up ↑