For some reason, I can't get Features Override to maintain the position I give the "Due date" field within the "Task list" view - it always appears as the last column.

I could always drop Features Override and do it in the *_alter() hook myself - however, I'd really like this to be something that users of Work Tracker can do easily themselves too! (Especially, since one of the purposes of the Due Date column is documentation: https://drupal.org/node/2112431)

I found an old issue about this, but it doesn't appear to apply to the current version:

#1309312: Maintain component ordering. (i.e. views fields)

Comments

dsnopek’s picture

Title: Position "Due date" field within "Task list" view (it currently appears as the last column) » Position "Due date" field within "Task list" view and make it sortable (bugs with Features Override)

It appears that Features Override also won't capture the $display->display_options['style_options']['info'], so we can't make the column sortable. :-/

When I get a chance, I'll dig into the Features Override code and attempt to fix it!

dsnopek’s picture

Started to look at Features Override, however, even if I figure it out and write the patches before the OA 2.0 feature freeze, that really isn't enough time to review them and get committed upstream. :-/ So that OA 2.0 has a solid "Due date" field, I've written a custom hacked oa_worktracker_duedate_view_default_views_alter() in revision eefdd6f.

Once I get the 1.0-beta2 release out, I'm going to make a new branch to work out a proper solution.

dsnopek’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev

Updated to 7.x-2.x-dev version.

dsnopek’s picture

Issue summary: View changes
Status: Active » Fixed

I think we're stuck with this hack for the time being.

Status: Fixed » Closed (fixed)

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

kevster111’s picture

Does this fix the sortable issue. I know this is old. Ive been trying to get the due date sortable forever. Was in another issue queue but I can't find it now for whatever reason. Im on the latest open atrium version and still not sortable. Thanks in advance dsnopek

kevster111’s picture

This is sortable now. I had to turn off module and uninstall completely then reinstall. Works great