Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fields are output into different order at random times #19

Open
mcgaritydotme opened this issue Feb 19, 2024 · 1 comment
Open

Fields are output into different order at random times #19

mcgaritydotme opened this issue Feb 19, 2024 · 1 comment

Comments

@mcgaritydotme
Copy link

To Reproduce
Steps to reproduce the behavior:

  1. Run the following CLI command: things-cli --csv all > tasks.csv
  2. Open tasks.csv in any editor
  3. Make note of the column labels and their order
  4. Repeat the above steps

Expected behavior
Each time the export is done, the same columns are exported in the same order

Additional context
Not every time, but I run the export once per week, and the column headers will shift position:

Column order on 2024-02-07 export:
title uuid type status area area_title notes tags start start_date deadline stop_date created modified index today_index project project_title heading heading_title

Column order on 2024-02-12 export (notice how the project* and heading* fields are swapped):
title uuid type status area area_title notes tags start start_date deadline stop_date created modified index today_index heading heading_title project project_title

Column order on 2024-02-19 export (fields are now in a completely-different order):
title uuid type status notes start start_date deadline stop_date created modified index today_index area area_title tags project project_title heading heading_title

Why is this important?

I import Things 3 tasks into a custom spreadsheet in order to perform analytics, but it expects the input (tasks.csv) to be the same structure each time. Reordering of columns breaks these analytics.

@AlexanderWillner
Copy link
Contributor

Thanks, that's interesting. Not sure why this happens...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants