mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-11 09:53:32 +03:00
fbed93b866
no issue The post/page bulk actions weren't logged in the history log / actions table. This change adds support for logging bulk actions. - New `addActions` static method on models. It creates an action log in the database for multiple models at once. If only one model was edited, deleted or added, it will fallback to `addAction` - `addAction` can also be called statically now - `actionName` option is now supported when using `addActions`, `addAction`, and as a result also in all bulk manipulation methods, and CRUD methods. This allows you to replace the default '5 posts edited' into something more specific like '5 posts featured' - Fixed support for null resource_id in the parse-history-event helper - Removed the default 'published' status requirement when using Post.findOne for internal queries. |
||
---|---|---|
.. | ||
PostsExporter.js | ||
PostsService.js |