I am running 6.3 CE. I have created a custom module named Jobs with a custom field named jobstatus. I would like to modify the Open Item search to search for Jobs not in "Completed" I have made the following change to searchfield.php file in the modules metadata directory.
I am not sure why the code is not working, or whether I need to do something other than modifying this code. Any help would be appreciated.Code:'open_only' => array( 'query_type'=>'default', 'db_field'=> array('jobstatus'), 'operator'=>'not in', 'closed_values' => array('Completed'), 'type'=>'bool', ),
Thanks!


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks