Releases: AntonyZ89/yii2-templates
Releases · AntonyZ89/yii2-templates
1.5.1
1.5
1.4
- Toastify added
to use install:
"npm-asset/toastify-js": "^1.11.0",
"npm-asset/lodash": "^4.17.4"
How to use npm asset: https://www.yiiframework.com/extension/yiisoft/yii2-bootstrap4/doc/guide/2.0/en/assets-setup
toastify.success(title: string | null, msg: string | null | Options, extraOptions: Options): void,
toastify.info(title: string | null, msg: string | null | Options, extraOptions: Options): void,
toastify.warning(title: string | null, msg: string | null | Options, extraOptions: Options): void,
toastify.error(title: string | null, msg: string | null | Options, extraOptions: Options): void1.3
- Add
@alias.to query and it be replaced bytableNameor aalias.
// Query
User::find()->alias('example')->where(['@alias.name' => 'Antony']);# result
SELECT `user`.* FROM `user` as `example` WHERE `example`.`name` = 'Antony'- Use
$query->groupBy(false)to avoidGROUP BYon query. - Fixed javascript error when any date input has been not found.
- Pjax fixes.
ActiveDataProvidercreated to fix a error whenGROUP BYexists on query and only first page of models is returned.- Template fixes.
functions.phpadded with some useful functions.ActiveQueryfixes.- Bug fixes