Skip to content

Commit

Permalink
our hidden items are not discoverable
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarko committed Apr 28, 2015
1 parent 51b6e97 commit d68a921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dspace-api/src/main/java/org/dspace/content/Item.java
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public boolean isWithdrawn()
*/
public boolean isDiscoverable()
{
return itemRow.getBooleanColumn("discoverable");
return itemRow.getBooleanColumn("discoverable") && !this.isHidden();
}

/**
Expand Down

0 comments on commit d68a921

Please sign in to comment.