projects
/
scpubgit/stemmaweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c231115
)
save annotations made in relationship mapper
Tara L Andrews [Wed, 22 Feb 2012 14:51:39 +0000 (15:51 +0100)]
lib/stemmaweb/Controller/Relation.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/stemmaweb/Controller/Relation.pm
b/lib/stemmaweb/Controller/Relation.pm
index
690f44e
..
54830ac
100644
(file)
--- a/
lib/stemmaweb/Controller/Relation.pm
+++ b/
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 );