mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
[DS-2076] Fix jump to browse for withdrawn items
This commit is contained in:
@@ -343,10 +343,11 @@ public class SolrBrowseDAO implements BrowseDAO
|
|||||||
{
|
{
|
||||||
query.setQuery("bi_" + column + "_sort" + ": [\"" + value + "\" TO *]");
|
query.setQuery("bi_" + column + "_sort" + ": [\"" + value + "\" TO *]");
|
||||||
}
|
}
|
||||||
|
boolean includeUnDiscoverable = itemsWithdrawn || !itemsDiscoverable;
|
||||||
DiscoverResult resp = null;
|
DiscoverResult resp = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
resp = searcher.search(context, query);
|
resp = searcher.search(context, query, includeUnDiscoverable);
|
||||||
}
|
}
|
||||||
catch (SearchServiceException e)
|
catch (SearchServiceException e)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user