From: Tara L Andrews Date: Wed, 22 Feb 2012 14:51:39 +0000 (+0100) Subject: save annotations made in relationship mapper X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6b4321903c9a8ae5f4959f4509ff512c9bc403d6;p=scpubgit%2Fstemmatology.git save annotations made in relationship mapper --- diff --git a/stemmaweb/lib/stemmaweb/Controller/Relation.pm b/stemmaweb/lib/stemmaweb/Controller/Relation.pm index 690f44e..54830ac 100644 --- a/stemmaweb/lib/stemmaweb/Controller/Relation.pm +++ b/stemmaweb/lib/stemmaweb/Controller/Relation.pm @@ -110,7 +110,8 @@ sub relationships :Chained('text') :PathPart :Args(0) { my $scope = $c->request->param('scope'); my $opts = { 'type' => $relation, - 'scope' => $scope }; + 'scope' => $scope, + 'annotation' => $note }; try { my @vectors = $collation->add_relationship( $node, $target, $opts );