diff --git a/docs/hooks/hook_civicrm_searchColumns.md b/docs/hooks/hook_civicrm_searchColumns.md index 657f6fcac5581972f35a85e8dc3d75e5d4d07908..d3915c1ab3bae9b7c19aa915ff5c92f3a01795aa 100644 --- a/docs/hooks/hook_civicrm_searchColumns.md +++ b/docs/hooks/hook_civicrm_searchColumns.md @@ -46,7 +46,7 @@ column values and therefore appear to be sorting incorrectly. function civitest_civicrm_searchColumns( $objectName, &$headers, &$values, &$selector ) { - if ( $objectName == 'Contact' ) { + if ( $objectName == 'contact' ) { // Lets move a few header around, and overwrite stuff we dont need