When individual content items are assigned a series of weight values (in my case, positive numbers in increments of 5), a View configured to sort only by weight does not follow the sequence. It seems to sort only by title (ascending or descending), or else if no sort is defined it follows some other pattern I can't determine. The display type is Masonry Views, but I see the same problem with a basic table or grid display. Suggestions for troubleshooting?
--Thanks--

Comments

OpsTao created an issue. See original summary.

nikhilesh gupta’s picture

Assigned: Unassigned » nikhilesh gupta
nikhilesh gupta’s picture

@OpsTao

Nodes will be sorted first by stickiness, then by weight, then by creation date.

Make sure "Sticky at top of lists" checkbox is unchecked for the nodes.

Also sort by weight (asc) lower weight will float to the top of lists and for sort by weight(desc) heavier items will sink.

extexan’s picture

I'm having the same problem. I had about decided it was related to my theme, because when editing the view, the "preview" shows it as expected, but when I view the page itself, it shows the same as described by the OP. So I switched to Bartik to see if it made a difference. The page was still in the wrong order, but, as I said, "preview" in the view is correct. Very strange.

I'm only trying the weight module as a last resort to override the Ubercart product "list order" field, which isn't working either. My view was cloned from a taxonomy view, so now I'm wondering if that is somehow overriding the sort I've defined.

I'm sorting by sticky (desc), then weight (asc), then Post Date (desc). I've double-checked the "sticky" setting on each of the nodes (products), they are all unchecked. I even set one as sticky to see if that changed the order - it did.

Any suggestions would be greatly appreciated.

extexan’s picture

Can I print a retraction? :p

I had double-checked the URL path defined in the view, and made sure that's the page I was viewing. However, what was actually showing was the taxonomy page, which had the same URL.

Sorry for the unnecessary post.

mustanggb’s picture

Status: Active » Closed (outdated)

Closing this as outdated to tidy up a bit around here. If you're still having problems with the latest release please create a new issue.