mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 05:53:08 +00:00
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:
@@ -542,6 +542,10 @@ public class IndexBrowse
|
|||||||
removeIndex(item, bis[i]);
|
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
|
// Ensure that we remove any invalid entries
|
||||||
pruneIndexes();
|
pruneIndexes();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user