Ghost/core
Hannah Wolfe b2051dacf7 Fix post model deletes tags when editing post only
fixes #6919, refs #6917

- resolves the problem by guarding for `tags` being undefined or null
   - If it is undefined, we don't do any tag processing
   - If it is null, we don't do any tag processing
   - To delete all tags, you would provide `tags: []`
- adds tests at both the model (using withRelated) and API (using includes) layers
- moves the tests for the post updateTags functionality from the tag model spec to the post model spec & cleans up a bit
2016-06-02 22:52:34 +01:00
..
client@61fe83dff3 Update Ghost-Admin 2016-05-22 10:02:50 +01:00
server Fix post model deletes tags when editing post only 2016-06-02 22:52:34 +01:00
shared move private-blogging functionality into an internal app 2016-04-11 08:58:41 -05:00
test Fix post model deletes tags when editing post only 2016-06-02 22:52:34 +01:00
index.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00