Skip to content

Commit

Permalink
fix for urls cache refresh when add item
Browse files Browse the repository at this point in the history
  • Loading branch information
sachatrauwaen committed Jul 24, 2019
1 parent a921e87 commit 4b4c746
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OpenContent/Components/Datasource/OpenContentDataSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ public virtual void Add(DataSourceContext context, JToken data)
LuceneController.Instance.Add(content, indexConfig);
LuceneController.Instance.Commit();
}
ClearUrlRewriterCache(context);
Notify(context, data, "add");
}
public virtual void Update(DataSourceContext context, IDataItem item, JToken data)
Expand Down

0 comments on commit 4b4c746

Please sign in to comment.