Download & Extend

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

Project:Weight
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

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

Comments

#1

This should definitely be in the help, as it's not really obvious. Also, don't forget to add the weight field to the view in the first place. But be sure that it's not the first item, since it's automatically hidden this would also hide the drag handle.

#2

Status:active» closed (won't fix)

The instructions for creating the view are in the readme file.