[PATCH] Use more failsave pattern for SQ-facets

Wald Commits scm-commit at wald.intevation.org
Wed Oct 16 18:48:20 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1381942082 -7200
# Node ID eb226d788ccf817f98c22772f9365475e2f215df
# Parent  6b891d0aaf0ff659026069ac371f82c816a2100d
Use more failsave pattern for SQ-facets.

diff -r 6b891d0aaf0f -r eb226d788ccf artifacts/doc/conf/meta-data.xml
--- 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)">


More information about the Dive4elements-commits mailing list