Fixed category sorting for books ('c' on a book), found SQLite error on checking...
authorGianni Gambetti <gianni@gambetti.ca>
Sun, 19 Oct 2014 18:20:08 +0000 (14:20 -0400)
committerGianni Gambetti <gianni@gambetti.ca>
Sun, 19 Oct 2014 18:20:08 +0000 (14:20 -0400)
TODO
library/interface/browser.py

diff --git a/TODO b/TODO
index d7ac659..3525d2f 100644 (file)
--- a/TODO
+++ b/TODO
@@ -27,7 +27,8 @@ Error on search
  - related to strings in Python3
 When the top element shown is highlighted in the browser window, and pgUp is pressed (causing a scrollup), the bottom border of the window turns into 'qqqqqqqq'.
  - does not happen when up_arrow is pressed.
-
+Error checking out an already checked out book
+ - SQLite integrity check failure
 
 
 
index b460b96..149bcc4 100644 (file)
@@ -471,7 +471,6 @@ class categorySelector(browserWindow):
     def refreshSelected(self):
         self.original = list(map(lambda x:False, self.entries))
         cats = db.getBookCategories(self.book)
-        cats.sort()
         cats.sort(key=lambda k: k.get('category')) # key=dict.get(col))
         i = 0
         j = 0