When saving a search, the modified_date was being overwritten with the old value.
}
$params['modified_id'] = $loggedInContactID;
}
+ // Set by mysql
+ unset($params['modified_date']);
// Flush angular caches to refresh search displays
if (isset($params['api_params'])) {
*
* Generated from xml/schema/CRM/Contact/SavedSearch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fe46c2b4900f1fdde4a90f4858710fde)
+ * (GenCodeChecksum:8a25df5165c48a42f0280efe9eb262d5)
*/
/**
'html' => [
'label' => ts("Created By"),
],
+ 'readonly' => TRUE,
'add' => '5.36',
],
'modified_id' => [
'entity' => 'SavedSearch',
'bao' => 'CRM_Contact_BAO_SavedSearch',
'localizable' => 0,
+ 'readonly' => TRUE,
'add' => '5.36',
],
'modified_date' => [
<html>
<label>Created By</label>
</html>
+ <readonly>true</readonly>
<add>5.36</add>
</field>
<foreignKey>
<comment>When the search was created.</comment>
<required>true</required>
<default>CURRENT_TIMESTAMP</default>
+ <readonly>true</readonly>
<add>5.36</add>
</field>
<field>