mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
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 |
||
---|---|---|
.. | ||
api | ||
apps | ||
config | ||
controllers | ||
data | ||
errors | ||
events | ||
helpers | ||
middleware | ||
models | ||
permissions | ||
routes | ||
storage | ||
translations | ||
utils | ||
views | ||
filters.js | ||
ghost-server.js | ||
i18n.js | ||
index.js | ||
update-check.js |