Skip to content

Filter empty columns from import file, consolidate getHeadersFromFile into getDataFromFile

mattwire requested to merge mattwire/advimport:emptycols into master

Filter empty columns from import (eg. xlsx seems to include all cols upto AZ even if empty which causes saveToDatabase to crash with duplicate 'empty' field names).

This also simplifies so that we only read the datafile once for both headers and data.

Edited by bgm

Merge request reports