changeset 7425:ce390ccf14a4

meta-data.xml: Exclude empty.facet s.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 23 Oct 2013 12:08:30 +0200
parents d3137b603a3d
children f4623fe18868
files artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Wed Oct 23 12:07:35 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Wed Oct 23 12:08:30 2013 +0200
@@ -2929,6 +2929,7 @@
             JOIN facets f                  ON f.out_id = o.id
           WHERE  u.gid = CAST(${user-id} AS UUID)
             AND ma.gid &lt;&gt; CAST(${artifact-id} AS uuid)
+            AND f.name NOT LIKE '%empty.facet%'
             AND EXISTS (
               SELECT id
               FROM artifact_data ad

http://dive4elements.wald.intevation.org