Anki/pylib/anki
Arthur Milchior d9b5a1da89 Order by creation of note
This commit solve a problem I actually have for some strange
reason. Here is how to reproduce the problem

1. Create a note of type Basic (and reversed card) in a deck D with front "First"
and no back
2. Wait a day (or install an add-on which show hour and minutes of
creation time in browser)
3. create a second note, with front "Last" and no back
4. In first note, add in back field "First" and delete the front field
5. Use "Empty card".
6. In the setting of the deck D, set in random order, and then back in
the "order added"
7. Review deck D. You'll see card 1 of the second note. (Don't review
it)
8. Open the browser. Show the column "due" and created. You'll see
that the first card (first) have due value 2, while it was created
before according to the created date. The card "last" have due value
1.

This is due to the fact that the value "created" is linked to note
creation, while the order is linked to the card creation time, and
card may be created after other note
2020-01-15 23:42:54 -08:00
..
importing Merge remote-tracking branch 'upstream/master' into add-tags-on-update 2020-01-03 08:13:04 +02:00
.gitignore add buildhash to rspy and aqt, and check all three modules match 2020-01-03 15:15:18 +10:00
__init__.py bump minimum python version from 3.6 to 3.7 2020-01-07 18:34:36 +10:00
cards.py fix CI failing 2020-01-08 20:49:40 +10:00
collection.py drop pystache and move legacy code into separate file 2020-01-11 19:38:30 +10:00
consts.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
db.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
decks.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
errors.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
exporting.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
find.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
hooks.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
lang.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
latex.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
media.py drop pystache and move legacy code into separate file 2020-01-11 19:38:30 +10:00
models.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
notes.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
pybackend.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
rsbackend.py replace fields and apply standard filters in rslib 2020-01-10 18:02:26 +10:00
sched.py Order by creation of note 2020-01-15 23:42:54 -08:00
schedv2.py Order by creation of note 2020-01-15 23:42:54 -08:00
sound.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
stats.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
statsbg.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
stdmodels.py drop 'extra' from default cloze note type 2020-01-03 13:40:50 +10:00
storage.py add a partial Python implementation of the backend 2020-01-06 12:24:47 +10:00
sync.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
tags.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
template.py drop pystache and move legacy code into separate file 2020-01-11 19:38:30 +10:00
template_legacy.py drop pystache and move legacy code into separate file 2020-01-11 19:38:30 +10:00
types.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
utils.py add buildhash to rspy and aqt, and check all three modules match 2020-01-03 15:15:18 +10:00