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