Main problem was lack of cardIndex.cardID || cards[cardIndex].cardID in the maybeboard export lines, hence the additional consolidation into a helper function.
Edit: Also found that the "Show other" sorting flag was being passed to sortForDownload as a string instead of a boolean (eg "true" or "false"), such that it was always being treated as truthy
Fixes #2446
Main problem was lack of
cardIndex.cardID || cards[cardIndex].cardID
in the maybeboard export lines, hence the additional consolidation into a helper function.Edit: Also found that the "Show other" sorting flag was being passed to sortForDownload as a string instead of a boolean (eg "true" or "false"), such that it was always being treated as truthy