anki/pylib
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
..
anki Order by creation of note 2020-01-15 23:42:54 -08:00
tests drop pystache and move legacy code into separate file 2020-01-11 19:38:30 +10:00
.gitignore tweaking the folder names again 2020-01-03 07:48:38 +10:00
.isort.cfg tweaking the folder names again 2020-01-03 07:48:38 +10:00
.pylintrc tweaking the folder names again 2020-01-03 07:48:38 +10:00
Makefile show stdout/stderr when running tests 2020-01-08 15:52:51 +10:00
mypy.ini bump minimum python version from 3.6 to 3.7 2020-01-07 18:34:36 +10:00
requirements.dev switch from nose2 to pytest 2020-01-03 08:52:10 +10:00
setup.py bump minimum python version from 3.6 to 3.7 2020-01-07 18:34:36 +10:00