silverstripe/sapphire — pull request #1875 by wilr (2013-05-11 06:07:06+00:00)
Title: FIX: If CSV column mapping maps to function, keep key values

Fixes http://open.silverstripe.org/ticket/6473

When using CSVParser::$columnMapping to map columns to a callback action, it previously used the action name as the key value. This prevented users from defining multiple entries to the same callback. This patch retains those key values and simply runs the callback field name filter later on.