Difference between #9 and #10 of
CGridView Date Range Without Cookies or Session (External Filtering)

Revision #10 has been created by ezekielnoob on Mar 29, 2015, 9:24:25 AM with the memo:

version update
« previous (#9)

Changes

Title unchanged

CGridView Date Range Without Cookies or Session (External Filtering)

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

CGridView, date, date range filter, extended filters

Content unchanged

[...]
if ($this->end_date != null) {
$criteria->addCondition("close_date<=:to");
$criteria->params += array('to' => date('Y-m-d', strtotime($this->end_date)));
}
```
done!
3 0
8 followers
Viewed: 21 676 times
Version: 1.1
Category: How-tos
Written by: ezekielnoob
Last updated by: ezekielnoob
Created on: Jul 31, 2013
Last updated: 9 years ago
Update Article

Revisions

View all history