[Bug]: GUID Column is Marked as Deck Column

I’m trying to export some notes in .txt format but without including a note type column in it. Normally, the GUID column is the first one and the deck column is the second one and are marked correctly as such. However, the exports I’m getting have #guid column = 1 but also #deck column = 1. Anki is also (mis)recognising the first column as deck column when importing the files.

Is this an issue with the import/export code or I’m maybe doing something wrong?

2 Likes

This happens for me too.

Steps to reproduce:

  1. Go to deck browser.
  2. Select cards with the same note type.
  3. Export (notes > export notes).
  4. In that dialog, choose notes as text and select all options except for note type.

The resulting file shows this in my case:

#separator:tab
#html:true
#guid column:1
#deck column:1
#tags column:9

Two things are wrong here.

  1. #deck column:1 should be #deck column:2.
  2. #tags column:9 should be #tags column:10.

Fixing the numbers here fixes the import for me as well.

3 Likes

I noticed the #tags column header being wrong too but forgot to later notify here. Thanks!

1 Like

Opened a pr that should fix this

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.