Skip to content

return a CMS-appropriate URL for viewing contacts

JonGold requested to merge JonGold/apirestlog:fix-nondrupal-urls into 1.x

The current AngularJS template hardcodes the URL to view the contact to /civicrm/contact/view?cid={{row.calling_contact_id}}&reset=1, which only works with Drupal/Backdrop. I pass this through CRM.url() to get a CMS-appropriate URL, for WordPress/Joomla support.

Merge request reports