Merge pull request #5584 from micmania1/patch-11

DOCS incorrect method referenced
This commit is contained in:
Loz Calver 2016-05-24 16:31:26 +01:00
commit 4daaffbe21

View File

@ -46,7 +46,7 @@ and `MyDate`. The attribute `HiddenProperty` should not be searchable, and `MyDa
'MyDate' => 'Date'
);
public function getCustomSearchContext() {
public function getDefaultSearchContext() {
$fields = $this->scaffoldSearchFields(array(
'restrictFields' => array('PublicProperty','MyDate')
));