- Posts: 8
- Thank you received: 0
searching talking painfully longtime when the search categories is "All fields"..sometime it gives "Fatal error: Maximum execution time of -- seconds exceeded"..when choosing the field the query executed vey quick..iam running the software in intranet and few people accessing it..so my client suggested to disable the search button till a field is chosen..or make one field as a default instead of the "all field".. please help
and hope i made my case clear
Please Log in or Create an account to join the conversation.
Hi,
You can use Advanced Filters option. You will find it in Search Form section. Then you tick the columns which you want to show search form.
If it does not work for you, you will have to hack a bit. But i suggest that you try Advanced Filters first.
Regards,
Tomaž
Please Log in or Create an account to join the conversation.
I tried the Advanced filter but is not practical as I have 12 fields and listing all of them looks odd..
help in hacking it will be appreciated...just to removed the top "All fields" and replace it with the first field in the list
thank you for the quick reply
Please Log in or Create an account to join the conversation.
Go to file components/com_grid/layouts/GridView.php and comment out lines 53 to 69:
// $field['search_menu'] .= "<option value=\"0\"";
//
// if ("$this->searchField"=="0") {
//
// $field['search_menu'] .= " selected";
//
// }
Please Log in or Create an account to join the conversation.
I think you ment from 53-59
and it works perfectly
appreciate you help again
Please Log in or Create an account to join the conversation.