Grant report: Grant details not showing properly state/province and country
Issue
This issue is similar to the one reported here - #220
On the Detailed Grant report, the state/province shows the numeric values instead of the actual text labels.
How to replicate
On https://dmaster.demo.civicrm.org create 1-2 grants. Then go to Grants - Grant Reports -> Allow state/province in the list of columns and render the report.
Country
and state/province
show numeric values instead.
How to fix
Adding the following line:
$entryFound = $this->alterDisplayAddressFields($row, $rows, $rowNum, NULL, NULL) ? TRUE : $entryFound;
before here seems to be solving the issue (code replicated from issue #220 (closed))
Edit: PR is here - 20169