mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
DS-1890 correct scope logging of searches
logged scopeId and scopeType properly.
This commit is contained in:
@@ -484,8 +484,8 @@ public class SolrLogger
|
|||||||
}
|
}
|
||||||
//Store the scope
|
//Store the scope
|
||||||
if(scope != null){
|
if(scope != null){
|
||||||
solrDoc.addField("scopeId", scope.getType());
|
solrDoc.addField("scopeId", scope.getID());
|
||||||
solrDoc.addField("scopeType", scope.getID());
|
solrDoc.addField("scopeType", scope.getType());
|
||||||
}
|
}
|
||||||
|
|
||||||
if(rpp != -1){
|
if(rpp != -1){
|
||||||
|
Reference in New Issue
Block a user