conditional re-index
This commit is contained in:
parent
14e14ba9bd
commit
f29968f379
2 changed files with 4 additions and 3 deletions
|
|
@ -275,8 +275,9 @@ namespace LibationWinForms
|
|||
}
|
||||
|
||||
// in order: save to db, full reindex from db, refresh ui
|
||||
context.SaveChanges();
|
||||
ApplicationServices.SearchEngineCommands.FullReIndex();
|
||||
var changed = context.SaveChanges();
|
||||
if (changed > 0)
|
||||
ApplicationServices.SearchEngineCommands.FullReIndex();
|
||||
UserDefinedItem.BatchMode_Finalize();
|
||||
|
||||
// only do this after save changes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue