after upgrading to D7 alpha 7 countQuery() calls stopped working.
countQuery should be called after setting all conditions
attached patch solves the problem (now webform acts like core's taxonomy module).
Patch fixes includes/webform.submissions.inc
Probably, views/webform_handler_field_submission_count.inc should also be patched, but I'm not using views :)
| Comment | File | Size | Author |
|---|---|---|---|
| webform.patch | 1.87 KB | valthebald |
Comments
Comment #1
valthebaldComment #2
quicksketchExcellent thanks.
Comment #3
Jackinloadup commentedWas this fixed?
Is this issue a duplicate of #881230: PDO exception due to calling countQuery too early.?
Comment #4
Stevel commentedIt's a duplicate indeed. Marking this one as such and I'll clarify the title of the other issue as well.
Comment #5
quicksketchThanks Stevel.