Using the weather report sems to create a duplicate weather record, but it does not, its acutally a display bug and this is actually not a bug in SPARCS but is a bug in the views module #1371252: Table with "Hide Empty Column" and "Grouping field" creates duplicate last content but our bug will stay here until this other is fixed. I will enact manual fixes for this on each instance of sparcs 2012

Comments

spydmobile’s picture

ok, I will handbomb a solution from the guts of this patch code:

diff --git a/theme/theme.inc b/theme/theme.inc
index eaf8d2d..f38255d 100644
--- a/theme/theme.inc
+++ b/theme/theme.inc
@@ -598,8 +598,8 @@ function template_preprocess_views_view_table(&$vars) {
         $empty &= empty($columns[$column]);
       }
       if ($empty) {
-        foreach ($vars['rows'] as $num => &$columns) {
-          unset($columns[$column]);
+        foreach ($vars['rows'] as $num => &$column_items) {
+          unset($column_items[$column]);
           unset($vars['header'][$column]);
         }
       }
spydmobile’s picture

fixed as of Commit 3623756 on 7.x-1.x

spydmobile’s picture

Status: Active » Closed (fixed)
spydmobile’s picture

Issue summary: View changes

more detail