pivot-table: Implement hiding footnotes.
[pspp] / src / output / pivot-output.c
index b49805f91612da94f2a6941828799a676a2ca80d..0efba3e34b0e0a6922644e18338cf219c3fad5db 100644 (file)
@@ -401,7 +401,7 @@ add_references (const struct pivot_table *pt, const struct table *table,
                 size_t idx = cell.value->footnote_indexes[i];
                 assert (idx < pt->n_footnotes);
 
-                if (!refs[idx])
+                if (!refs[idx] && pt->footnotes[idx]->show)
                   {
                     refs[idx] = true;
                     (*n_refs)++;