I have created a simple view, which is designed to group a number of nodes which share the same taxonomy term. Simply, my install isn't grouping the nodes on a particular drupal install (D6.13).
The expected result would be as follows:
term1
* test
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
* test 2
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
* test 3
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
term2
* test 4
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
* test 5
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
however, the view is resulting as follows:
term1
* test
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
term1
* test 2
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
term1
* test 3
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
term2
* test 4
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
term2
* test 5
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
I have tried to recreate the problem on another similar install with the same version of drupal and the same version of the views module, and have been unable to reproduce the error.
Attached is a copy of the exported view.
Comments
Comment #1
PRZ commentedI have noticed this as well, using 6.x-2.6 Views and 6.14 Drupal. Grouping has been working well until a couple of days ago with no changes to my site, other than my doing some theming on CCK forms using template.php.
I'll move up to Views 6.x-2.x-dev or 6.x-3.x-dev and see if grouping returns.
Comment #2
merlinofchaos commentedI tested this exported view and I believe it is fixed by http://drupal.org/node/619884#comment-2218336
Comment #3
joel_guesclin commentedI hope no-one minds that I reopened this which was originally opened on Views 6.x-2.6. I am running an Acquia installation of D6.16 on my workstation for testing purposes, updated with Views 6.x-2.11. I'm running into exactly the problem described above. I've checked the patch described by merlinofchaos and it seems to be applied in this version also. Maybe I've done something wrong, but I really can't see what. The view is very basic, just displaying node titles for nodes keyed by a single vocabulary, sorting on the term and grouping by term. I've excluded the term itself from the display, so it only appears as the group title, but the group title is still getting displayed above every node, instead of once for all the nodes associated with that term.
Here is the code of the view:
Comment #4
Anonymous (not verified) commentedI can confirm that this was an issue two days ago when I was testing #979634: Grouping field displays incorrectly in Drupal 6.
Comment #5
Anonymous (not verified) commentedSo I tried testing this and found out something (possibly) interesting.
I created a view in alpha3. The groupings displayed correctly. I disabled alpha3 and switched to dev without uninstalling. The view still showed up correctly.
It wasn't until I uninstalled and reinstalled that the problem showed up in dev again. I'm not sure whether that's an interesting finding, but it surprised me.
Comment #6
Anonymous (not verified) commentedI figured this out (in dev at least). In dev, "Link this field to its node" is automatically checked for every field that you add. This wasn't the case in alpha3. When the field is wrapped in a link to its node, each node will be different.
Will test in 6.x-2.11.
Comment #7
Anonymous (not verified) commentedI cannot replicate this in 2.11. Is this still a problem for you, joel_guesclin?
Comment #8
esmerel commentedno activity for 30 days