Fix broken item deleting (fulltext regression)
This commit is contained in:
parent
9bc5c4435e
commit
3f0fb0e4e6
|
@ -1465,7 +1465,7 @@ Scholar.Item.prototype.erase = function(deleteChildren){
|
|||
|
||||
// Clear fulltext cache
|
||||
Scholar.Fulltext.clearItemWords(this.getID());
|
||||
Scholar.Fulltext.clearItemContent(this.getID());
|
||||
//Scholar.Fulltext.clearItemContent(this.getID());
|
||||
Scholar.Fulltext.purgeUnusedWords();
|
||||
|
||||
sql = 'DELETE FROM itemCreators WHERE itemID=' + this.getID() + ";\n";
|
||||
|
|
Loading…
Reference in New Issue
Block a user