Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Nov 2015 at 08:02 UTC
Updated:
4 Jan 2016 at 13:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
czigor commentedComment #3
dawehnerComment #4
dawehnerI could imagine that the code in
core/modules/views/views.theme.inc:552now contains of render arrays instead of just rendered output, so checking forempty()doesn't work that simple anymore.Comment #5
czigor commentedTests are also coming.
Comment #6
czigor commentedActually, unsetting the header label does not need to be inside the foreach().
Comment #7
dawehnerOh I'm glad that this is the only change needed, nice!
I'd say
\Drupal\views\Tests\Plugin\StyleTableTestis the perfect place to expand.Comment #8
lendudeTests. Failing patch and patch containing tests and fix in #6.
Interdiff is the test only patch.
Comment #10
dawehnerThank you for that!
Comment #14
alexpottCommitted b845d1b and pushed to 8.0.x and 8.1.x. Thanks!