ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.71k stars 2.24k forks source link

[BUG]: Sibling cards get wrong created date #16776

Open brishtibheja opened 3 months ago

brishtibheja commented 3 months ago

Checked for duplicates?

Does it also happen in the desktop version?

What are the steps to reproduce this bug?

  1. Create a cloze card (card 1)
  2. Create another card (card 2)
  3. Add another cloze to the first card's note (card 3)
  4. View the cards in card browser while display order is set to "by created time"

Expected behaviour

card 1, card 2, card 3 appears in order.

Actual behaviour

card 1 and card 3 which are siblings of each other are grouped together.

Debug info

2.19alpha8

(Optional) Anything else you want to share?

No response

Research

brishtibheja commented 3 months ago

I realise now the issue might just get solved when card browser starts using the desktop code. Currently, even the creation dates of newly created sibling cards are wrong (which is not in card info).

david-allison commented 3 months ago

Listed as potentially fixed by https://github.com/ankidroid/Anki-Android/pull/16620. Once this is merged, please re-test in the next alpha. Thanks!