futurefirst / uk.org.futurefirst.networks.civipoints

An extension for CiviCRM. Allows points to be allocated to contacts.
Other
1 stars 6 forks source link

4.6: Granting contact column on points tabs shows the ID instead of the name #9

Closed davidknoll closed 9 years ago

davidknoll commented 9 years ago

Marked as an enhancement because I haven't declared 4.6 compatibility yet. On a current 4.6.10 buildkit install, on points tabs on a contact view page, the "Granted by" column shows a contact ID where it should show a link with a name.

This is probably because a previous version of DataTables had deprecated the fnRender parameter, which is used in the column definition to turn the contact ID into a link, and Civi is now using a version where it has been removed.

Proposed solution would be to construct the link in the PHP side of the page, avoiding use of fnRender.

davidknoll commented 9 years ago

Fixed with https://github.com/futurefirst/uk.org.futurefirst.networks.civipoints/commit/7e1a92d3797c8334380181779c2c1f7eb736d3d5.