I am creating a staff list for the company and have set up an Enterprise Search Center and all is working great. I would like the refinement panel to list the Departments in the company so people can quickly and easy filter by department.
I have added the following to the Filter Category Definition in the refinement panel:
<Category Title="Department" Description="Use this filter to restrict results by department" Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator" MetadataThreshold="3" NumberOfFiltersToDisplay="20" MaxNumberOfFilters="20" SortBy="Name" SortDirection="Ascending" ShowMoreLink="False" MappedProperty="Department" />
Which shows a list of our departments in the refinement panel - great! Problem is, when I click on any department I get no results returned, rather than seeing the people in that department.
The URL after clicking on one of the departments is:
http://domain/sites/Search/Pages/peopleresults.aspx?r=department%3D%22Accounts%22
Can anyone suggest what I'm doing wrong?
Thank you, this is driving me nuts!