Download & Extend

Format:settings Grouping field seems to have an inconsistant behaviour

Project:Views
Version:7.x-3.5
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Format:settings Grouping field seems to have an inconsistant behaviour

I set a field to group based on the value of a field

not all the content in the content type has an entry in the group field the Idea being some items will be grouped and the others will display outside of the group but within the same display.

This generally hasn't been a issue but I am noticing items that belong to the group displaying in their own group but using the same name for the grouped field

so lets say I've a group called small and some items have small entry in their group field and some don't, the display ends up being something like this

Small Group[
[item][item][item][item]
]

[item][item][item][item]

Small Group[
[item][item][item]
]

instead of

Small Group[
[item][item][item][item]
[item][item][item]
]

[item][item][item][item]

any ideas on how to get this to display correctly?

thanks

Comments

#1

Ok a bit more information on how to replicate the issue. If you use order by date and some of the items have significantly different publish dates and there are other items with a publish dated in-between, the grouping doesn't work correctly. If I remove the order by publish date or I change the publish date to something closer to the dates used by the other items in the group, the grouping works correctly.

The grouping seems to only work correctly if the publish date of all the items in a group are dated sequentially. Or dont use publish date to order the items

nobody click here