Skip to content

Commit

Permalink
reimplemented 'person' filter
Browse files Browse the repository at this point in the history
  • Loading branch information
ewg118 committed Oct 26, 2021
1 parent b8fd2c3 commit ec86316
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ui/xslt/controllers/metamodel-templates.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
<triple s="{$subject}" p="crm:P108i_was_produced_by" o="?prod"/>
<triple s="?prod" p="crm:P10_falls_within" o="{$object}"/>
</xsl:when>
<xsl:when test="$property = 'person'">
<triple s="{$subject}" p="crm:P108i_was_produced_by" o="?prod"/>
<union>
<triple s="?prod" p="crm:P14_carried_out_by" o="{$object}"/>
<triple s="?prod" p="crm:P9_consists_of/crm:P14_carried_out_by" o="{$object}"/>
</union>
</xsl:when>
<xsl:when test="$property = 'painter' or $property = 'potter'">
<triple s="{$subject}" p="crm:P108i_was_produced_by" o="?prod"/>
<union>
Expand Down

0 comments on commit ec86316

Please sign in to comment.