Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
11 Nov 2011 at 19:37 UTC
Updated:
29 Dec 2015 at 22:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerPlease always provide a real patch, it's somehow easier to review and you can't make any mistakes when you apply the patch.
Comment #2
Anonymous (not verified) commentedHere it is.
Edit: Dont know what happened, this patch must be deleted. Is incorrect.
Comment #3
Anonymous (not verified) commentedComment #4
Anonymous (not verified) commentedThis is the patch to review.
Comment #5
dawehnerI'm wondering why you check for two different variables. Wouldn't work $vars['rows'][$num][$column] as well?
There is a option on each field, whether zero is empty or not. I would think this information should be used on tables as well.
Comment #6
Anonymous (not verified) commentedOn 7.x-3.0-rc3 code, the solution seems to be this new patch. Maybe somebody can port it to latest code 7.x-3.x-dev ?
Comment #7
klaasvw commentedJavier's patch works for me.
Here's a reroll for 7.x-3.x-dev
Comment #8
klaasvw commentedMarking this as a duplicate of #559102: Views thinks that a 0 value is empty even when the box 'Count the number 0 as empty' is unchecked... and reposting the above patch to the original issue.
Comment #9
dawehnerCommitted the patch from here to 7.x-3.x