projects
/
scpubgit/stemmatology.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
39d16d8
)
expose available relationship types for the collation
Tara L Andrews [Mon, 9 Jun 2014 20:31:11 +0000 (22:31 +0200)]
base/lib/Text/Tradition/Collation.pm
patch
|
blob
|
blame
|
history
base/lib/Text/Tradition/Collation/Data.pm
patch
|
blob
|
blame
|
history
diff --git
a/base/lib/Text/Tradition/Collation.pm
b/base/lib/Text/Tradition/Collation.pm
index
425259a
..
88fd3c8
100644
(file)
--- a/
base/lib/Text/Tradition/Collation.pm
+++ b/
base/lib/Text/Tradition/Collation.pm
@@
-30,6
+30,7
@@
has _data => (
ac_label
has_cached_table
relationships
+ relationship_types
related_readings
get_relationship
del_relationship
diff --git
a/base/lib/Text/Tradition/Collation/Data.pm
b/base/lib/Text/Tradition/Collation/Data.pm
index
54a021c
..
88a5c9b
100644
(file)
--- a/
base/lib/Text/Tradition/Collation/Data.pm
+++ b/
base/lib/Text/Tradition/Collation/Data.pm
@@
-21,6
+21,7
@@
has 'relations' => (
del_relationship => 'del_relationship',
equivalence => 'equivalence',
equivalence_graph => 'equivalence_graph',
+ relationship_types => 'types'
},
writer => '_set_relations',
);