after filtering gridView date filter field gets the "01-01-1970" value

Hello Everyone,

I have use the date filter field for filtering date value in GridView, but i have a problem that is when i filter the any column of GridView after that Date filter field gets "01-01-1970" or "1970-01-01" value.

for more description i have attached the snapshot.

6195

before_filtering.png

6196

after_filtering.png

after finding solution of this issue is that,

put following rules in Search model…


public function rules()

{

 return [

     [['batch_start_date', 'batch_end_date'], 'default', 'value'=>null],

 ]

}

please explain where is the search model file in humhub system to try solve my problem with humhub system for arabic part of the system.

thanking you somuch