From: Tara L Andrews Date: Mon, 9 Jun 2014 20:31:11 +0000 (+0200) Subject: expose available relationship types for the collation X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0bbea47d72925b1aa492812fd78e64bde8361f43;p=scpubgit%2Fstemmatology.git expose available relationship types for the collation --- diff --git a/base/lib/Text/Tradition/Collation.pm b/base/lib/Text/Tradition/Collation.pm index 425259a..88fd3c8 100644 --- 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 --- 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', );