Views: If you set the style as weight changer, you must set the sort to weight

iStryker - June 2, 2009 - 06:30
Project:Weight
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I've just notice something when in views,

If you set the style as weight changer, you must also set the sort to weight:weight. If you don't, you'll see unexpected results when changing trying to change the weight in the view. This is because the view will not be ordering them by weight.

I put this under feature request as its not really a bug, as it still works. I don't know if you can make it so that when you choose the style as weight changer that a condition gets added to the sort. Maybe someone just needs to edit the help.

Cheers,

Stryker

 
 

Drupal is a registered trademark of Dries Buytaert.