Issue #3405424 by naveenvalecha: Delete the items only when cleared the index instead of resetting the database
1 unresolved thread
Compare changes
@@ -335,13 +335,7 @@ class Recombee extends BackendPluginBase implements PluginFormInterface {
@@ -352,7 +346,39 @@ class Recombee extends BackendPluginBase implements PluginFormInterface {
thanks @naveenvalecha
Please re-use the function deleteItems inside deleteAllIndexItems, you could some something like this:
@eleonel Both create the item id differently.
in the case let's create a helper function to be more generic and use that function in both deleteAllIndexItems and deleteItems
Done