changeset 7408:65e25bfd2049

issue1473: Show differences project name in dc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 22 Oct 2013 12:15:33 +0200
parents 8be4eb02b432
children 24a1b6b2fc7f
files artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 13 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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>

http://dive4elements.wald.intevation.org