mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 10:34:25 +00:00
DS-2733 Erronous string comparing fix
This commit is contained in:

committed by
Tim Donohue

parent
52ce1eb52b
commit
9885ed851a
@@ -435,7 +435,7 @@ else if( qResults != null)
|
|||||||
|
|
||||||
// create the URLs accessing the previous and next search result pages
|
// create the URLs accessing the previous and next search result pages
|
||||||
String baseURL = request.getContextPath()
|
String baseURL = request.getContextPath()
|
||||||
+ (searchScope != "" ? "/handle/" + searchScope : "")
|
+ (!searchScope.equals("") ? "/handle/" + searchScope : "")
|
||||||
+ "/simple-search?query="
|
+ "/simple-search?query="
|
||||||
+ URLEncoder.encode(query,"UTF-8")
|
+ URLEncoder.encode(query,"UTF-8")
|
||||||
+ httpFilters
|
+ httpFilters
|
||||||
@@ -690,7 +690,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"><span class="badge"><%= fvalue.getCount() %></span> <a href="<%= request.getContextPath()
|
%><li class="list-group-item"><span class="badge"><%= fvalue.getCount() %></span> <a href="<%= request.getContextPath()
|
||||||
+ (searchScope!=""?"/handle/"+searchScope:"")
|
+ (!searchScope.equals("")?"/handle/"+searchScope:"")
|
||||||
+ "/simple-search?query="
|
+ "/simple-search?query="
|
||||||
+ URLEncoder.encode(query,"UTF-8")
|
+ URLEncoder.encode(query,"UTF-8")
|
||||||
+ "&sort_by=" + sortedBy
|
+ "&sort_by=" + sortedBy
|
||||||
@@ -715,7 +715,7 @@ else
|
|||||||
%><li class="list-group-item"><span style="visibility: hidden;">.</span>
|
%><li class="list-group-item"><span style="visibility: hidden;">.</span>
|
||||||
<% if (currFp > 0) { %>
|
<% if (currFp > 0) { %>
|
||||||
<a class="pull-left" href="<%= request.getContextPath()
|
<a class="pull-left" href="<%= request.getContextPath()
|
||||||
+ (searchScope!=""?"/handle/"+searchScope:"")
|
+ (!searchScope.equals("")?"/handle/"+searchScope:"")
|
||||||
+ "/simple-search?query="
|
+ "/simple-search?query="
|
||||||
+ URLEncoder.encode(query,"UTF-8")
|
+ URLEncoder.encode(query,"UTF-8")
|
||||||
+ "&sort_by=" + sortedBy
|
+ "&sort_by=" + sortedBy
|
||||||
@@ -727,7 +727,7 @@ else
|
|||||||
<% } %>
|
<% } %>
|
||||||
<% if (idx == limit) { %>
|
<% if (idx == limit) { %>
|
||||||
<a href="<%= request.getContextPath()
|
<a href="<%= request.getContextPath()
|
||||||
+ (searchScope!=""?"/handle/"+searchScope:"")
|
+ (!searchScope.equals("")?"/handle/"+searchScope:"")
|
||||||
+ "/simple-search?query="
|
+ "/simple-search?query="
|
||||||
+ URLEncoder.encode(query,"UTF-8")
|
+ URLEncoder.encode(query,"UTF-8")
|
||||||
+ "&sort_by=" + sortedBy
|
+ "&sort_by=" + sortedBy
|
||||||
|
Reference in New Issue
Block a user