diff artifacts/doc/conf/meta-data.xml @ 7362:eb226d788ccf

Use more failsave pattern for SQ-facets.
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 16 Oct 2013 18:48:02 +0200
parents 463cbda8c6e7
children 4e055f92a8b3
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Wed Oct 16 18:46:43 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Wed Oct 16 18:48:02 2013 +0200
@@ -1068,12 +1068,12 @@
 
     <dc:macro name="sqrelations_user">
       <dc:filter expr="
-        ($out = 'sq_relation_a' and starts-with($facet_name, 'sq_a')) or
-        ($out = 'sq_relation_b' and starts-with($facet_name, 'sq_b')) or
-        ($out = 'sq_relation_c' and starts-with($facet_name, 'sq_c')) or
-        ($out = 'sq_relation_d' and starts-with($facet_name, 'sq_d')) or
-        ($out = 'sq_relation_e' and starts-with($facet_name, 'sq_e')) or
-        ($out = 'sq_relation_f' and starts-with($facet_name, 'sq_f'))">
+        ($out = 'sq_relation_a' and starts-with($facet_name, 'sq_a_')) or
+        ($out = 'sq_relation_b' and starts-with($facet_name, 'sq_b_')) or
+        ($out = 'sq_relation_c' and starts-with($facet_name, 'sq_c_')) or
+        ($out = 'sq_relation_d' and starts-with($facet_name, 'sq_d_')) or
+        ($out = 'sq_relation_e' and starts-with($facet_name, 'sq_e_')) or
+        ($out = 'sq_relation_f' and starts-with($facet_name, 'sq_f_'))">
         <dc:if test="dc:has-result()">
           <sq_relations>
             <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)">

http://dive4elements.wald.intevation.org