Skip to content

Commit

Permalink
Merge branch 'w2p-119664_Statistics-scope-fix-7.6' into w2p-119664_St…
Browse files Browse the repository at this point in the history
…atistics-scope-fix-main
  • Loading branch information
Atmire-Kristof committed Dec 2, 2024
2 parents fc544a8 + 48956d9 commit 1eed688
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ public UsageSearchEvent convert(Context context, HttpServletRequest request, Sea
if (searchEventRest.getScope() != null) {
IndexableObject scopeObject =
scopeResolver.resolveScope(context, String.valueOf(searchEventRest.getScope()));
if (scopeObject instanceof DSpaceObject) {
usageSearchEvent.setScope((DSpaceObject) scopeObject);
if (scopeObject != null && scopeObject.getIndexedObject() instanceof DSpaceObject) {
usageSearchEvent.setScope((DSpaceObject) scopeObject.getIndexedObject());
}
}
usageSearchEvent.setConfiguration(searchEventRest.getConfiguration());
Expand Down

0 comments on commit 1eed688

Please sign in to comment.