@kohanajs/mod-cms
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [4.2.1](https://gitlab.com/kohana-js/proposals/level0/mod-cms/compare/v4.2.0...v4.2.1) (2021-11-30) | ||
### Bug Fixes | ||
* blocks.length is null error ([2faca39](https://gitlab.com/kohana-js/proposals/level0/mod-cms/commit/2faca39112b69ee5d14421a1328e8005a40f0436)) | ||
## [4.2.0](https://gitlab.com/kohana-js/proposals/level0/mod-cms/compare/v4.1.0...v4.2.0) (2021-11-30) | ||
@@ -7,0 +14,0 @@ |
@@ -407,3 +407,3 @@ const {SQL} = require("@kohanajs/constants"); | ||
const blocks = await ORM.readBy(PageBlock, 'page_id', [page.id], {database, limit: 99999}) | ||
const blocks = await ORM.readBy(PageBlock, 'page_id', [page.id], {database, limit: 99999, asArray: true}); | ||
@@ -410,0 +410,0 @@ const masterLanguage = await ORM.readBy(Language, 'name', [KohanaJS.config.cms.defaultLanguage], {database, limit:1 }); |
@@ -1,2 +0,1 @@ | ||
const { SQL } = require("@kohanajs/constants") | ||
const { ORM, KohanaJS } = require("kohanajs"); | ||
@@ -3,0 +2,0 @@ const PageValue = ORM.require('PageValue'); |
{ | ||
"name": "@kohanajs/mod-cms", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "The CMS module for KohanaJS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42301
954