View Single Post
Old 08-08-2020, 04:25 AM   #891
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
I just worked out a very long-standing bug.

Using "Move to list", it you move books from list "A" to list "A" and "B", the books will actually be removed from list "A". It is because one of the actions is done in alphabetical order. Move from "B" to "A" and "B" will have everything updated correctly.

The fix is fairly simple. In action.py, method "move_books_to_lists", at line 662, change the code to:

Code:
                if not source_list_name in dest_list_names_list:
                    (_removed_ids, tags_changed) = self.remove_books_from_list(source_list_name, book_id_list,
                                                                              refresh_screen=False, display_warnings=False)
                    if tags_changed:
                        any_tags_changed = True
@JimmXinu: As you have made the last couple of releases, I let you do this one as well
davidfor is offline   Reply With Quote