I need the ability to display a Workflow: Current state field in Views as the ID instead of the human-readable name. Turns out this functionality is pretty easy to add. Patch to follow.

Comments

traviscarden’s picture

Assigned: traviscarden » Unassigned
Status: Active » Needs review
StatusFileSize
new14.22 KB
new1.93 KB

Here. This adds a checkbox to the configure field screen as depicted below:

Screenshot.gif

johnv’s picture

Title: Add ability to display Current state Views field as ID » Add ability to display Current state Views field as ID (D6 only)

Going through the issue list to see if D6-issues are still an issue in D7:
In D7, the State is listed twice as a Views Field: once as 'state', and once as 'state name'. The 'state' has an option to show either ID or Name.
So, this is fixed in D7. Setting the title accordingly. D6 probably won't be fixed anymore.

johnv’s picture

Component: Code » Views
johnv’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)

I 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."