[PATCH 2 of 2] issue1473: Show differences project name in dc

Wald Commits scm-commit at wald.intevation.org
Tue Oct 22 12:16:05 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1382436933 -7200
# Node ID 65e25bfd2049f91b3fcd9d4945a58797a7345aeb
# Parent  8be4eb02b432c35346e20edd349b1b954bcbb259
issue1473: Show differences project name in dc.

diff -r 8be4eb02b432 -r 65e25bfd2049 artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml	Tue Oct 22 11:57:17 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Tue Oct 22 12:15:33 2013 +0200
@@ -425,15 +425,19 @@
       <dc:filter expr="$facet_name = 'w_differences'">
         <dc:if test="dc:has-result()">
           <differences>
-            <dc:for-each>
-              <w_differences
-                description="{$facet_description}"
-                factory="winfo"
-                target_out="{$out}"
-                artifact-id="{$a_gid}"
-                ids="{$facet_num}"
-                out="w_differences"/>
-            </dc:for-each>
+            <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)">
+              <differences description="{dc:group-key()}">
+                <dc:for-each>
+                    <w_differences
+                      description="{$facet_description}"
+                      factory="winfo"
+                      artifact-id="{$a_gid}"
+                      ids="{$facet_num}"
+                      target_out="{$out}"
+                      out="w_differences"/>
+                </dc:for-each>
+              </differences>
+            </dc:group>
           </differences>
         </dc:if>
       </dc:filter>


More information about the Dive4elements-commits mailing list