Thanks, I'll try that.
Update: For some (unknown) reason
&where=`["month(createdon) = 1"]`
didnt work so I turned on loging in gerResource and realised that createdon is not datetime or timestamp column type in MySQL. It's integer type!!! So correct way to write where condition would be
&where=`["MONTH(FROM_UNIXTIME(createdon)) = 1"]`
I would also like to share two tips.
Tip #1 - Resize error log window
Because I wanted larger error log window height I found out that you need to change these file(s)
manager/assets/modext/build/widgets/system/modx.panel.error.log-min.js and add growMin:500 and set growMax to be bigger that growMin if you set compress manager js files or do same thing in manager/assets/modext/widgets/system/modx.panel.error.log.js.
Tip #2 - Firebug extension for ExtJS
Because I dont have any experience in Ext JS and I had to somehow find that textarea creating code so I used Firebug extension for ExtJS called
Illuminations.
[ed. note: milance2009 last edited this post 14 years, 9 months ago.]