Answer the question
In order to leave comments, you need to log in
How to disable search in Yii1?
Hello everyone, I switched to yii1 not long ago and ran into a problem.
In the controller I check for empty values in the form
if(count(Yii::app()->request->getParam('RefMahala')['name_'.Yii::app()->language])>0 || intval(Yii::app()->request->getParam('RefMahala',['district_id'=>null])['district_id']) > 0 ){
}
Answer the question
In order to leave comments, you need to log in
What do you mean by search? Filters in GridView? If so, then you need to change the search criteria CDbCriteria depending on these fields. They are most likely generated in the search() method of your model.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question