changeset 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 6b891d0aaf0f
children c4896fd35122
files artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
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