DS-1773 Bootstrap JSPUI - In the Discover column on the Home page some boxes do not have room to display the total number

This commit is contained in:
Andrea Bollini
2013-11-27 11:33:52 +01:00
parent 3548d6da78
commit 5010c171be
2 changed files with 4 additions and 4 deletions

View File

@@ -93,13 +93,13 @@
{ {
if (idx != limit) if (idx != limit)
{ {
%><li class="list-group-item"><a href="<%= request.getContextPath() %><li class="list-group-item"><span class="badge"><%= fvalue.getCount() %></span> <a href="<%= request.getContextPath()
+ searchScope + searchScope
+ "/simple-search?filterquery="+URLEncoder.encode(fvalue.getAsFilterQuery(),"UTF-8") + "/simple-search?filterquery="+URLEncoder.encode(fvalue.getAsFilterQuery(),"UTF-8")
+ "&amp;filtername="+URLEncoder.encode(f,"UTF-8") + "&amp;filtername="+URLEncoder.encode(f,"UTF-8")
+ "&amp;filtertype="+URLEncoder.encode(fvalue.getFilterType(),"UTF-8") %>" + "&amp;filtertype="+URLEncoder.encode(fvalue.getFilterType(),"UTF-8") %>"
title="<fmt:message key="jsp.search.facet.narrow"><fmt:param><%=fvalue.getDisplayedValue() %></fmt:param></fmt:message>"> title="<fmt:message key="jsp.search.facet.narrow"><fmt:param><%=fvalue.getDisplayedValue() %></fmt:param></fmt:message>">
<%= StringUtils.abbreviate(fvalue.getDisplayedValue(),32) %></a><span class="badge"><%= fvalue.getCount() %></span></li><% <%= StringUtils.abbreviate(fvalue.getDisplayedValue(),36) %></a></li><%
} }
idx++; idx++;
} }

View File

@@ -684,7 +684,7 @@ else
{ {
if (idx != limit && !appliedFilterQueries.contains(f+"::"+fvalue.getFilterType()+"::"+fvalue.getAsFilterQuery())) if (idx != limit && !appliedFilterQueries.contains(f+"::"+fvalue.getFilterType()+"::"+fvalue.getAsFilterQuery()))
{ {
%><li class="list-group-item"><a href="<%= request.getContextPath() %><li class="list-group-item"><span class="badge"><%= fvalue.getCount() %></span> <a href="<%= request.getContextPath()
+ (searchScope!=""?"/handle/"+searchScope:"") + (searchScope!=""?"/handle/"+searchScope:"")
+ "/simple-search?query=" + "/simple-search?query="
+ URLEncoder.encode(query,"UTF-8") + URLEncoder.encode(query,"UTF-8")
@@ -697,7 +697,7 @@ else
+ "&amp;filterquery="+URLEncoder.encode(fvalue.getAsFilterQuery(),"UTF-8") + "&amp;filterquery="+URLEncoder.encode(fvalue.getAsFilterQuery(),"UTF-8")
+ "&amp;filtertype="+URLEncoder.encode(fvalue.getFilterType(),"UTF-8") %>" + "&amp;filtertype="+URLEncoder.encode(fvalue.getFilterType(),"UTF-8") %>"
title="<fmt:message key="jsp.search.facet.narrow"><fmt:param><%=fvalue.getDisplayedValue() %></fmt:param></fmt:message>"> title="<fmt:message key="jsp.search.facet.narrow"><fmt:param><%=fvalue.getDisplayedValue() %></fmt:param></fmt:message>">
<%= StringUtils.abbreviate(fvalue.getDisplayedValue(),32) %></a> <span class="badge"><%= fvalue.getCount() %></span></li><% <%= StringUtils.abbreviate(fvalue.getDisplayedValue(),36) %></a></li><%
idx++; idx++;
} }
if (idx > limit) if (idx > limit)