Closed (fixed)
Project:
Workflow
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Mar 2007 at 23:17 UTC
Updated:
20 Jun 2009 at 18:00 UTC
Jump to comment: Most recent file
The operator in the view's exposed filters does not appear to be correct. In my view_filter table, the record with the workflow_node.sid field has an operator of 'OR' which results in the query '... WHERE (node.type IN ('ppp')) AND (workflow_node.sid OR '18'). ' This filter does not filter the result set. In the view's exposed filters block, i have:
Optional=checked, Filter settings Default= unchecked, Force Single=checked, and Lock Operator=checked
changing the operator manually in the db to '=' seems to resolve the problem, but i could not find in the code where this value is set.
Ryan
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | workflow.module.views_.patch | 436 bytes | buchanae |
Comments
Comment #1
d0t101101 commentedThis is still a problem with v1.1. It seems checking 'force single' inside the views exposed filter settings breaks the filter, showing all workflow states. Unchecking 'force single' fixed the problem.
.
Comment #2
buchanae commentedthis patched fixed it for me
Comment #3
buchanae commentedthis patched fixed it for me
Comment #4
boaz_r commentedPatch #2 worked for me as well.
Any chance getting this in officially?
Thanks.
Comment #5
JacobSingh commentedSeems good from my end
Comment #6
JacobSingh commentedCommitted to DRUPAL-5
Comment #7
deekayen commentedThis patch applied to workflow_views_tables(), which in Views2 changed to workflow_views_data() and a very different array declaration that makes the upgrade of this patch void.