Fix #1566 : Fix basket export
Merge pull request #764 from romainneutron/fix-1566

[3.8] Fix #1566 : Fix basket export