Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In render there's not difference between filters and selected filters #1915

Open
Mojster opened this issue Aug 29, 2018 · 0 comments
Open

In render there's not difference between filters and selected filters #1915

Mojster opened this issue Aug 29, 2018 · 0 comments

Comments

@Mojster
Copy link

Mojster commented Aug 29, 2018

In render there's not difference between filters and selected filters. So you cannot make a CSS which would differ them.

I've fixed this in facet.jsp by adding active-filter in line 30:

<%
		if (filterQueries != null && !filterQueries.isEmpty()) {
	%>
	<div class="panel panel-default">
		<div class="panel-heading">
			<h3 class="panel-title active-filter"><%=renderer.getFiltersTitleText()%></h3>
		</div>
		<div class="panel-body">
			<ul style="list-style-type: none">
				<li><a href="<%=getUrl + "&fqc"%>"><%=renderer.getClearFiltersText()%></a></li>
				<%
					for (String fieldName : filterQueries.getTermsFilterSet()) {
							for (String term : filterQueries.getTermSet(fieldName)) {

I this this is a good enhancement and would recommend that is globally available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant