diff --git a/webapp/src/main/webapp/css/search/custom_filters.css b/webapp/src/main/webapp/css/search/custom_filters.css
new file mode 100644
index 0000000000..642bea1b5f
--- /dev/null
+++ b/webapp/src/main/webapp/css/search/custom_filters.css
@@ -0,0 +1,5 @@
+.li-selected > label {
+ background: url(../../images/arrowIcon.gif) 0px 5px no-repeat;
+ color: #2ea0cf;
+ padding-left: 16px;
+}
\ No newline at end of file
diff --git a/webapp/src/main/webapp/templates/freemarker/body/menupage/browseSearchFilterValues.ftl b/webapp/src/main/webapp/templates/freemarker/body/menupage/browseSearchFilterValues.ftl
index fa268e4365..0bd328942f 100644
--- a/webapp/src/main/webapp/templates/freemarker/body/menupage/browseSearchFilterValues.ftl
+++ b/webapp/src/main/webapp/templates/freemarker/body/menupage/browseSearchFilterValues.ftl
@@ -1,26 +1,55 @@
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
+<#import "search-lib.ftl" as sl>
+
+
<#if filterGenericInfo.filters[searchFilter]??>
- <#assign f = filterGenericInfo.filters[searchFilter]>
-
+ <#assign additionalFilters = ["type"]>
${stylesheets.add('')}
-
-
-
-
-
- <@printPagingLinks />
- <@filteredResults />
- <@printPagingLinks />
+
+
+
+
+
#if>
<#macro filteredResults>
@@ -35,10 +64,9 @@
#macro>
-
-<#macro filterFacets>
-
+<#macro collapsedFacets f>
<#assign selectedValue = "" >
+ <#assign valueNumber = 1>
<#list f.values?values as value>
<#if value.selected>
<#assign selectedValue = value.id >
@@ -47,15 +75,55 @@
<#if !(valueLabel?has_content)>
<#assign valueLabel = value.id >
#if>
+ <#if value.selected>
+ -
+
+ <@sl.getInput f value sl.getValueID(f.id, valueNumber) valueNumber 'filter-form' />
+ <@sl.getSelectedLabel sl.getValueID(filter.id, valueNumber)?html value f />
+
+
+ <#else>
+ -
+
+ <@sl.getInput f value sl.getValueID(f.id, valueNumber) valueNumber 'filter-form' />
+ <@sl.getLabel sl.getValueID(f.id, valueNumber) value f />
+
+
+ #if>
+ <#assign valueNumber = valueNumber + 1>
+ #list>
+#macro>
+
+<#macro filterFacets f>
+ <#assign selectedValue = "" >
+ <#assign valueNumber = 1>
+ <#list f.values?values as value>
+ <#if value.selected>
+ <#assign selectedValue = value.id >
+ #if>
+ <#assign valueLabel = value.name >
+ <#if !(valueLabel?has_content)>
+ <#assign valueLabel = value.id >
+ #if>
+ <#if value.selected>
+ -
+
+ <@sl.getInput f value sl.getValueID(f.id, valueNumber) valueNumber 'filter-form' />
+ <@sl.getSelectedLabel sl.getValueID(f.id, valueNumber)?html value f />
+
+
+ <#else>
-
- class="selected" #if> >${valueLabel?html}(${value.count})
+
+ <@sl.getInput f value sl.getValueID(f.id, valueNumber) valueNumber 'filter-form' />
+ <@sl.getLabel sl.getValueID(f.id, valueNumber) value f />
- #list>
-
+ #if>
+ <#assign valueNumber = valueNumber + 1>
+ #list>
#macro>
-
<#macro alphabeticalIndexLinks>
<#if languageAware >
<#assign indexFilterName = "label_regex">
@@ -66,19 +134,22 @@
<#assign indexFilter = filters[indexFilterName]>
@@ -101,3 +172,32 @@
#if>
#macro>
+
+<#macro getAlphabetLabel valueId label>
+
+#macro>
+<#-- create radio input fields for alphabetical indexes -->
+<#macro getAlphabetInput filter filterValue valueID form="filter-form">
+ <#assign checked = "">
+ <#if filter.inputText == filterValue>
+ <#assign checked = " checked=\"checked\" " >
+ <#assign class = "selected-input" >
+ #if>
+ <#assign type = "radio" >
+ <#assign filterName = filter.id >
+
+
+#macro>
+
+${scripts.add('')}
+${stylesheets.add('')}
+
+