Commit Graph

10 Commits

Author SHA1 Message Date
ef74fccab3 fixed bug / improved how we sort parent books, we now sort it based on the first sub_books spot in the series, not the last book we retrieved from the db ordered by book.id - this does not always work if we make a parent book after other books in a series (or move books), then it was printed out of order 2020-11-28 18:27:17 +11:00
ae1aba5e1d swap order of books in series works - still has debugs, and only works on current series, e.g. if you are in a series in a series, it will need you to manually do the same move in both series - I think I wont fix this bit, but we will see 2020-11-28 17:43:03 +11:00
422db5b6aa move buttons in books_for_series in series.html now are form buttons and submit and beginning of code to deal with it exists 2020-11-26 17:35:30 +11:00
fe7a4f46d6 Merge branch 'master' of 192.168.0.2:pybook 2020-11-25 18:24:27 +11:00
606c3615cf books_for_series now deals with sub books (hiding ability to reorder them in series), and disables first book (parent or normal) and last book (normal or parent of last sub-book) 2020-11-25 17:53:05 +11:00
Damien De Paoli
3a07c109a0 fix sorting by using proper python printing format str 2020-11-24 21:23:46 +11:00
725c362663 cleaned up tabs on comments in main.py, allowed series edit page to stretch full page, shrank font for books in series table, added move up/down buttons (non-functional as yet), and visualised books being in more than one series 2020-11-24 18:12:28 +11:00
a579e7db93 datatables needs to know second column is numeric 2020-11-23 19:59:01 +11:00
c310071db9 series view now orders books in series - still does not deal with series in series 2020-11-23 19:50:00 +11:00
e7c8e645ae first pass for series data, can save, and shows associated books... Does not deal with series inside series 2020-11-23 18:50:53 +11:00