Here's a rundown of what I do to see this issue:
I have a view setup on a content type with many fields. Each field is mapped to a column in the table but on certain pages within the view certain fields aren't used. In trying to create a universal view, I decided to just hide the column if empty rather than editing each view.
When I enable the hide column if empty for a field, the second to last row will duplicate itself and overwrite the last entry.
Now I know the specific entry that is showing twice duplicate in code because when changing the sort on the columns it will still only duplicate the second to last value of the row. So each re-sort of the data still only shows the last 2 duplicated. All the values are queried correctly, since when using other layouts or non-hidden columns they all appear.
I'll see if I can dig in and work on a patch but any help would be great, I'm not that familiar with views core.
Comments
Comment #1
cellar door commentedFound out that it only occurs when hiding more than one column in the table. When hiding only one column it works as expected.
Comment #2
cellar door commentedUpdating the title to reflect the new findings
Comment #3
Dennis82 commentedsubscribe
// problem in dev version too.
Comment #4
dawehnerSee #1371252: Table with "Hide Empty Column" and "Grouping field" creates duplicate last content
Comment #4.0
dawehneredited for more clarity