Skip to content

Commit

Permalink
use the right person id property to build person's link
Browse files Browse the repository at this point in the history
  • Loading branch information
Inna-r committed May 21, 2017
1 parent 0dba04b commit c48c50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/modules/main/src/controllers/itemPreviewCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ItemPreviewCtrl.prototype = {
return this.$state.href(state_name,
{tree_number:item_data.tree_num,
version:item_data.tree_version,
node_id: item_data.id});
node_id: item_data.person_id});
}
else {
return this.item.get_url(item_data);
Expand Down

0 comments on commit c48c50c

Please sign in to comment.