Part-DB / Part-DB-legacy

[LEGACY Version] Open Source Electronic Parts Database using PHP and MySQL
GNU General Public License v2.0
158 stars 35 forks source link

CSV import EN version #96

Open arneman44 opened 3 years ago

arneman44 commented 3 years ago

When importing parts via the import tool and the English header the OrderNr column doesn't work. When using the german Header it works without a problem.

this is on the 0.6 version

andreww5au commented 3 years ago

The problem is in inc/lib.import.php - lines 124 and 125 currently look like: 'bestellnummer' => 'part_supplierpartnr', 'ordernr' => 'ordernr', Line 125 needs to be changed to look like: 'ordernr' => 'part_supplierpartnr', Looks like the database column named, and that change was reflected in the German translation for the CSV column name, but not the English translation.