|
Re: Setting PK field to NOEDIT, but not NOSEARCH [message #4982 is a reply to message #4977] |
Wed, 02 September 2015 09:07 |
AJM
Messages: 2367 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
This is correct behaviour. If the NOSEARCH option is not set then the field will not be automatically removed from the SEARCH screen. If the NOEDIT option is set then the field will always be non-editable, even in search screens. If you want to change this then you should put code in the _cm_changeConfig() method to remove the field's NOEDIT option when the current pattern is "SRCH" or $GLOBALS['mode'] == 'search'.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|