Skip to content

Commit

Permalink
Only index when anonymous resource policy start date is null
Browse files Browse the repository at this point in the history
  • Loading branch information
wwelling committed Jan 30, 2024
1 parent 39b9930 commit e8463ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private void buildFullTextList(Item parentItem) throws SQLException {

for (ResourcePolicy rp:bundlePolicies) {
if (rp.getdSpaceObject().getID() == fulltextBitstream.getID()) {
if (rp.getGroup().getName().equalsIgnoreCase("anonymous")) {
if (rp.getGroup().getName().equalsIgnoreCase("anonymous") && rp.getStartDate() == null) {
isIndexable = true;
}
break;
Expand Down

0 comments on commit e8463ec

Please sign in to comment.