diff --git a/qt/aqt/browser.py b/qt/aqt/browser.py index 2760bec79..f7b5f7804 100644 --- a/qt/aqt/browser.py +++ b/qt/aqt/browser.py @@ -947,10 +947,14 @@ by clicking on one on the left.""" if type == "noteFld": ord = not ord self.col.conf["sortBackwards"] = ord + self.col.setMod() + self.col.save() self.search() else: if self.col.conf["sortBackwards"] != ord: self.col.conf["sortBackwards"] = ord + self.col.setMod() + self.col.save() self.model.reverse() self.setSortIndicator()