Fixed category sorting for books ('c' on a book), found SQLite error on checking out books
This commit is contained in:
parent
ea4f7b8b0e
commit
85ace8ab4c
3
TODO
3
TODO
|
@ -27,7 +27,8 @@ Error on search
|
||||||
- related to strings in Python3
|
- 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'.
|
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.
|
- does not happen when up_arrow is pressed.
|
||||||
|
Error checking out an already checked out book
|
||||||
|
- SQLite integrity check failure
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -471,7 +471,6 @@ class categorySelector(browserWindow):
|
||||||
def refreshSelected(self):
|
def refreshSelected(self):
|
||||||
self.original = list(map(lambda x:False, self.entries))
|
self.original = list(map(lambda x:False, self.entries))
|
||||||
cats = db.getBookCategories(self.book)
|
cats = db.getBookCategories(self.book)
|
||||||
cats.sort()
|
|
||||||
cats.sort(key=lambda k: k.get('category')) # key=dict.get(col))
|
cats.sort(key=lambda k: k.get('category')) # key=dict.get(col))
|
||||||
i = 0
|
i = 0
|
||||||
j = 0
|
j = 0
|
||||||
|
|
Loading…
Reference in New Issue