Skip to content
Snippets Groups Projects
  1. Nov 27, 2019
  2. Nov 26, 2019
  3. Nov 25, 2019
  4. Nov 24, 2019
    • eileen's avatar
      [REF] Minor code cleanup on the setting of contact greetings. · cf7c5cb8
      eileen authored
      I'm trying to review https://github.com/civicrm/civicrm-core/pull/15725 but through no fault of that PR it hits
      on one of the parts of the Export code that I still find unreadable :-( This is a further readability fix & it
      starts to point me to how to get past the underlying WTF about this code.
      
      Note that I removed the IF around sharedAddress. From Monish's PR I found out that we have a
      fairly long-standing regression where the sharedAddress code doesn't actually work :-( so
      I'm comfortable this won't break anything :-). We also have good test cover on this chunk from
      probably around when the shared address part got broken....
      
      Looking in the UI there is no implication that the greeting for a shared address would display differently -
      which is the only explanation I can think of for different handling here. Of course until we
      remove the later IF the shared address would do things differently - erm if it worked.
      
      ALl of which is a long way of saying the removal of the IF won't change anything
      cf7c5cb8
    • eileen's avatar
      Rename activity search field from status_id to activity_status_id · a13c931b
      eileen authored
      Currently this is on the form as 'status_id' but as soon as it's submitted the value is renamed - I think
      we might not even need to change the smart group for this one.
      
      The other field that is being renamed is 'priority_id'. Unless we have an appetite to
      add a uniqueName for this field (which I kind of feel like not doing more of for some
      cycles), I think we could stop renaming it & rely on the default where handling for the
      where clause. From what I can see the reason for prefixing is not about
      uniqueness but rather about adding a prefix so it gets handled by
      Activity_BAO_Query - but in fact Contact_BAO_Query should handle it just fine
      based on metadata
      a13c931b
    • magnolia61's avatar
      Sort CMS Database Table list · 101d85bc
      magnolia61 authored
      101d85bc
Loading