Closed (won't fix)
Project:
Workflow
Version:
6.x-1.5
Component:
Views
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2012 at 19:47 UTC
Updated:
9 Feb 2014 at 13:48 UTC
Jump to comment: Most recent
Hi! I've been investigating a Views 3.0 issue and ran into what I think is probably going to be the solution: #1417126: Views filter by 'Workflow: current state' only works if exposed . However, this is a D7 issue and I really need this in Workflow 1.5 for D6 so I can make it work with Views 3.0.
Currently I get a Views error message: "No valid values found on filter: Workflow: Current state". I get this even after I've deleted the filter! Views won't allow me to save until I get past this error, I think.
Thanks!
Comments
Comment #1
Bastlynn commentedPatches for this will be more than welcome, else I will get to the backport soon as I can.
Comment #2
pbeakley commentedSweet! Thanks for getting on this! :-)
Comment #3
leelooch commentedwell, on 6.x-1.5, change the line 23 in includes/workflow_views_handler_filter_sid.inc
from :
$states[$wname] = workflow_get_states($wid);to :
$states = workflow_get_states($wid);this worked for me (seems like $this->value_options must be a flat array, not a multidimensional array), but as I have tested it minimally, feel free to make deeper tests on this change.
sorry for not providing a patch, I don't have git installed.
Comment #4
johnvComment #5
johnvComment #6
johnvMarking this explicitely as a D6 issue.
Comment #6.0
johnvchanged link to issue.
Comment #7
johnvI wish there was a nicer way to clear the issue queue from 'D6-issues that are fixed in D7' then a "won't fix for D6."