Skip to content

Commit

Permalink
Update facet-def.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-edsall authored Jan 14, 2024
1 parent be08084 commit e34472a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions persons/facet-def.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<facets xmlns="http://expath.org/ns/facet">
</facets>
<!-- A simple facet for browsing by Syriaca.org series -->
<facet-definition name="type" label="Type">
<group-by function="type">
<sub-path>descendant::tei:persons/@type</sub-path>
</group-by>
<max-values show="10">60</max-values>
<order-by direction="ascending">value</order-by>
</facet-definition>
<facet-definition name="bibl" label="Sources">
<group-by>
<sub-path>descendant::tei:bibl/tei:ptr/@target</sub-path>
</group-by>
<max-values show="5">40</max-values>
<order-by direction="ascending">count</order-by>
</facet-definition>
</facets>

0 comments on commit e34472a

Please sign in to comment.