Fix itemRemoved method to correctly clear entries from the general item / withdrawn item tables.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2214 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Graham Triggs
2007-09-24 20:35:21 +00:00
parent c39aa5b780
commit 961d03ea33

View File

@@ -542,6 +542,10 @@ public class IndexBrowse
removeIndex(item, bis[i]);
}
// Remove from the item indexes (archive and withdrawn)
removeIndex(item.getID(), BrowseIndex.getItemBrowseIndex().getTableName());
removeIndex(item.getID(), BrowseIndex.getWithdrawnBrowseIndex().getTableName());
// Ensure that we remove any invalid entries
pruneIndexes();