mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
we need to tell libanki to sort now
This commit is contained in:
parent
2f6db69113
commit
528d29511b
1 changed files with 2 additions and 1 deletions
|
@ -111,7 +111,8 @@ class DataModel(QAbstractTableModel):
|
|||
# the db progress handler may cause a refresh, so we need to zero out
|
||||
# old data first
|
||||
self.cards = []
|
||||
self.cards = self.col.findCards(txt, self.browser.mw.pm.profile['fullSearch'])
|
||||
self.cards = self.col.findCards(txt, order=True)
|
||||
#self.browser.mw.pm.profile['fullSearch'])
|
||||
#print "fetch cards in %dms" % ((time.time() - t)*1000)
|
||||
if reset:
|
||||
self.endReset()
|
||||
|
|
Loading…
Reference in a new issue