Permalink
Browse files

use correct id for deleting inactive (closes #106)

  • Loading branch information...
1 parent 10cdfde commit e770a44299ac2f99373abaae3a5ff13f86669391 @koelnconcert koelnconcert committed May 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/resources/data-config.xml
View
2 src/main/resources/data-config.xml
@@ -21,7 +21,7 @@
d.is_ref_quality AS refQuality,
mt.dataset IS NOT NULL AS has_media,
if(d.is_active,null,'true') AS $skipDoc,
- if(d.is_active,null,d.doi) AS $deleteDocById
+ if(d.is_active,null,d.id) AS $deleteDocById
FROM dataset AS d
LEFT JOIN metadata AS m
ON m.dataset = d.id

0 comments on commit e770a44

Please sign in to comment.