I get the following error when attempting to sort by workflow state weight in Views 2.3.

"Error: handler for workflow_states > weight doesn't exist!"

CommentFileSizeAuthor
#4 workflow_views_sort.patch828 bytesmeba

Comments

theabacus’s picture

Bump?

Encarte’s picture

subscribing

gcassie’s picture

try changing line 35 of workflow.views.inc to:

      'handler' => 'views_handler_sort',

you'll likely have to flush your caches after the change, too.

meba’s picture

Status: Active » Needs review
StatusFileSize
new828 bytes

Attaching a patch against 6.x-dev

shawn dearmond’s picture

Status: Needs review » Reviewed & tested by the community

Works fine.

I tested against both 6.x-1.1 and 6.x-dev

Thanks!

jvandyk’s picture

Status: Reviewed & tested by the community » Fixed

Fixed. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

charos’s picture

Version: 6.x-1.1 » 6.x-1.4
Status: Closed (fixed) » Active

Maybe the error disappeared but the sorting is not working for Workflow: State weight. Unless something changed with 1.4.

Bastlynn’s picture

Status: Active » Closed (won't fix)

Since this request is over a year old, I'm going to assume a solution was found or you've moved on. If not, please get updated to the latest versions of all modules and make a request for it against Drupal 7 and I'll be glad to take a look at it.