Skip to content

Commit

Permalink
fix(stock): preserve patient name in link
Browse files Browse the repository at this point in the history
This commit preserves the patient name in the stock movement registry.

Closes #5442.
  • Loading branch information
jniles committed May 31, 2022
1 parent 88ae8c0 commit 21abd0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</li>

<li ng-if="row.entity.flux_id === grid.appScope.flux.TO_PATIENT">
<a data-method="view-patient" href ui-sref="patientRegistry({ filters : [{ key : 'period', value : 'allTime' }, { key : 'uuid', value : row.entity.entity_uuid }]})">
<a data-method="view-patient" href ui-sref="patientRegistry({ filters : [{ key : 'period', value : 'allTime' }, { key : 'uuid', value : row.entity.entity_uuid, displayValue: row.entity.target }]})">
<i class="fa fa-user"></i> <span translate>REPORT.VIEW_PATIENT</span>
</a>
</li>
Expand Down

0 comments on commit 21abd0f

Please sign in to comment.