Closed (duplicate)
Project:
Views Flipped Table
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2012 at 22:25 UTC
Updated:
18 Aug 2014 at 04:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
antoniotorres commentedI came up with a quick fix for this, it doesn't play nice with the hiding options in views but I don't particularly care for that in my case, I don't ever want it to show empty flipped rows.
it's in views-flipped-table.tpl.php
I added the if(!empty($row[0])): and the endif; works just fine. hides all empty rows.
Comment #2
justin.koh commentedThanks, #1 does not respect the hiding options in Views UI as stated but works well for me.
Comment #3
joachim commentedThis is working for me: I have a view with one column that has no data. As a normal table, I can have it hidden. As a flipped table, I get no row for that data field.
Can you give more detail about what you're doing and what you expect and what's going wrong?
Can you try with the latest release too please?
Comment #4
naught101 commentedComment #5
naught101 commentedDefinitely works for me, as long as the "hide empty column" field is checked in the view style settings. (We should change those "columns" to rows though).
Comment #6
youlikeit commentedMy solution is add a filter with the field which is depentent (in my case it was body) for your view and set the filter to hide if empty
Comment #7
asb commentedHiding empty rows never worked with 'views_flipped_table' from 'views_hacks', but there was an excellent patch that fixed the issue. However, I can not find the issue anymore, but I'm running patched 'views_flipped_table' on a dozend D6 sites for years. And I'm keeping the working code in a safe since the patch never made it into the dev release.
With D7 and the stand-alone 'views_flipped_table' module, the issue comes up again. The "hide empty column" has absolutely no effect in this matter, see attached screenshot. Please fix this annoying issue!
Comment #8
asb commentedFound it, the issue was moved away from 'views_hacks'.
This is a duplicate of the long-standing issue #1002672: Make "Hide if empty" fully collapsible.