Skip to content

Commit

Permalink
Followup fix for: Unable to invoke getForms after adding FormField to
Browse files Browse the repository at this point in the history
containingAnyFormField - TRUNK-4189
  • Loading branch information
dkayiwa committed Feb 17, 2014
1 parent ef7b6da commit b25df4b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -446,7 +446,7 @@ private Criteria getFormCriteria(String partialName, Boolean published, Collecti
subquery.add(Restrictions.eqProperty("ff.form", "form"));
subquery.add(Restrictions.in("ff.formFieldId", anyFormFieldIds));

crit.add(Subqueries.gt(0L, subquery));
crit.add(Subqueries.lt(0L, subquery));
}

//select * from form where len(containingallformfields) = (select count(*) from form_field ff where ff.form_id = form_id and form_field_id in (containingallformfields);
Expand Down

0 comments on commit b25df4b

Please sign in to comment.