If a field weight is 0 it is coverting to an empty string, and it will be allways the first element.

Comments

KarenS’s picture

Status: Active » Fixed

Turns out the problem was actually in content.crud.inc which was checking if (empty()) and then setting the weight to NULL. I missed this altogether, nice catch!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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