Mercurial > dive4elements > river
comparison artifacts/doc/conf/meta-data.xml @ 6069:dcbc06ca5d19
meta-data.xml: Make a select a bit more human-resolvable.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 23 May 2013 11:18:51 +0200 |
parents | 5db238b0176e |
children | cd8f77794a03 |
comparison
equal
deleted
inserted
replaced
6068:e6bdba4f227f | 6069:dcbc06ca5d19 |
---|---|
2628 SELECT c.name AS collection_name, | 2628 SELECT c.name AS collection_name, |
2629 ma.id AS a_id, | 2629 ma.id AS a_id, |
2630 ma.state AS a_state, | 2630 ma.state AS a_state, |
2631 ma.gid AS a_gid, | 2631 ma.gid AS a_gid, |
2632 ma.creation AS a_creation, | 2632 ma.creation AS a_creation, |
2633 COALESCE(ld_mode, '') AS ld_m, | 2633 COALESCE(ma.ld_mode, '') AS ld_m, |
2634 COALESCE(ld_locations, '') AS ld_l, | 2634 COALESCE(ma.ld_locations, '') AS ld_l, |
2635 COALESCE(ld_from, '') AS ld_f, | 2635 COALESCE(ma.ld_from, '') AS ld_f, |
2636 COALESCE(ld_to, '') AS ld_t | 2636 COALESCE(ma.ld_to, '') AS ld_t |
2637 FROM users u | 2637 FROM users u |
2638 JOIN collections c ON c.user_id = u.id | 2638 JOIN collections c ON c.user_id = u.id |
2639 JOIN master_artifacts_range ma ON ma.collection_id = c.id | 2639 JOIN master_artifacts_range ma ON ma.collection_id = c.id |
2640 WHERE c.id = ${collection_id} | 2640 WHERE c.id = ${collection_id} |
2641 AND ma.gid <> CAST(${artifact-id} AS uuid) | 2641 AND ma.gid <> CAST(${artifact-id} AS uuid) |