From 19735e97719205679bf5ff2c1442237e19d183a1 Mon Sep 17 00:00:00 2001 From: James Graham Date: Fri, 17 Apr 2020 11:38:59 +0100 Subject: [PATCH] fix: Fix network JS to use new serialized relationship format --- people/templates/people/network.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/people/templates/people/network.html b/people/templates/people/network.html index 144a27a..b55b2c7 100644 --- a/people/templates/people/network.html +++ b/people/templates/people/network.html @@ -104,8 +104,8 @@ group: 'edges', data: { id: 'relationship-' + relationship.pk.toString(), - source: 'person-' + relationship.source.toString(), - target: 'person-' + relationship.target.toString() + source: 'person-' + relationship.source.pk.toString(), + target: 'person-' + relationship.target.pk.toString() } }) }