When using the CSV export with hidden cols or the TSV export with hidden 
cols, I have none of the hidden columns in the view.
Here is the SQLFORM being used:

def index():
    form = SQLFORM.smartgrid(
          db.t_bsc,
          onupdate=auth.archive,
          linked_tables=['t_bsc', 't_device', 't_device2ip', 't_ip', 
't_ip2port', 't_port' ,],
          fields=[
            db.t_bsc.f_name,
            db.t_bsc.f_service_type,
            db.t_bsc.f_service_category,
            db.t_bsc.f_business_units,
            db.t_bsc.f_service_owner,
            db.t_bsc.f_business_priority,
            db.t_device.f_hostname,
            db.t_device.f_role,
            db.t_device.f_pci_scope,
          ],
          maxtextlength=40,
          links={'t_bsc':[{'header':'Service Notifications', 
'body':service_notif}]},
    )
    plugin=plugin_multiselect(db.t_bsc.f_supporting_svc)
    return locals()

And when I make an export, even with hidden columns, I have only the 
following fields:

t_bsc.f_namet_bsc.f_service_typet_bsc.f_service_categoryt_bsc.f_business_unitst_bsc.f_service_ownert_bsc.f_business_priorityt_bsc.id

while there are many other fields.

Tested with version: Current (2.3.2 stable)

This looks like a bug.

Thanks,

-- 



Reply via email to