Commit Graph

18 Commits

Author SHA1 Message Date
4e8bda4134 move parent[] to parent as the array was never needed, removed some dead code, clarified another example of new BUG-46 2023-07-08 15:10:38 +10:00
c31ae71dee fixed add/rem author funtionality for bs5 and converted to svg icons away from fontawesome 2022-07-04 22:25:35 +10:00
419eda9c33 remove unneeded extra call to dataTables.*.js 2022-07-03 21:30:40 +10:00
3c4cdeb4fb fixed BUG-15: book nums missing for parent books in series 2021-01-09 15:10:45 +11:00
136be26ad0 rewrote to remove parent_ref and just use parent from ORM 2020-12-01 20:27:17 +11:00
5cc03fe7e7 need return false for other ajax button onclicks, so added them for consistency, also shrank button font to take up less space 2020-11-30 21:58:33 +11:00
8d64b95d9f fixed bug with swapping book in series when we dont have details on book to swap with, also really disabled up/down buttons, rather than just made them look disabled 2020-11-29 17:40:04 +11:00
f70f008f1d fixed bug with disabling up/down buttons per series, rather than for the series we are viewing (it is now/should be based on how move code works) 2020-11-28 18:36:07 +11:00
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