Closed (fixed)
Project:
Views build menu
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Aug 2010 at 23:29 UTC
Updated:
6 Nov 2010 at 20:00 UTC
When no field is specified for the menu weight, it would be nice if this module would use the order of the items as displayed by the view itself to set the menu weights.
Looks like this module doesn't set the weights at all by default, which causes the menu to be in alphabetical order instead of in the order given by the view sorting options.
Comments
Comment #1
steven jones commentedYeah, I wanted to stick with how menu module does the sorting by default.
If you want the sort order of the view to be respected then you can add a 'Global: View result counter' field to your view, and use that to set the weight of your menu items.
Comment #2
mpotter commentedYep, that worked. Thanks, I didn't know about the View result counter field.
Comment #3
steven jones commentedMaybe we should add a little comment next to the form element about this.
Comment #4
steven jones commentedComment #5
steven jones commentedAdded the docs in http://drupal.org/cvs?commit=440706