From 3bb88c8c9cf1427fa70fee6f86e39e58956b8190 Mon Sep 17 00:00:00 2001 From: un-pogaz <46523284+un-pogaz@users.noreply.github.com> Date: Wed, 31 May 2023 09:29:33 +0200 Subject: [PATCH] fix columns list not the same as Calibre --- SearchReplaceCalibre.py | 7 +------ __init__.py | 2 +- changelog.md | 6 ++++++ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/SearchReplaceCalibre.py b/SearchReplaceCalibre.py index 8ee393e..d207f0f 100644 --- a/SearchReplaceCalibre.py +++ b/SearchReplaceCalibre.py @@ -446,18 +446,13 @@ def prepare_search_and_replace(self): if (f in ['author_sort'] or (fm[f]['datatype'] in ['text', 'series', 'enumeration', 'comments', 'rating'] and fm[f].get('search_terms', None) and - f not in ['formats', 'ondevice', 'series_sort']) or + f not in ['formats', 'ondevice', 'series_sort', 'in_tag_browser']) or (fm[f]['datatype'] in ['int', 'float', 'bool', 'datetime'] and f not in ['id', 'timestamp'])): self.all_fields.append(f) self.writable_fields.append(f) if fm[f]['datatype'] == 'composite': self.all_fields.append(f) - - ##un_pogaz exclude unsupported cover - self.all_fields.remove('cover') - self.writable_fields.remove('cover') - self.all_fields.sort() self.all_fields.insert(1, TEMPLATE_FIELD) self.writable_fields.sort() diff --git a/__init__.py b/__init__.py index d19e8a4..1696c95 100644 --- a/__init__.py +++ b/__init__.py @@ -32,7 +32,7 @@ class ActionMassSearchReplace(InterfaceActionBase): description = _('Easily apply a list of multiple saved Find and Replace operations to your books metadata') supported_platforms = ['windows', 'osx', 'linux'] author = 'un_pogaz' - version = (1, 7, 2) + version = (1, 7, 3) minimum_calibre_version = (4, 0, 0) #: This field defines the GUI plugin class that contains all the code diff --git a/changelog.md b/changelog.md index 19299f3..4894569 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,9 @@ +### version 1.7.3 +fix columns list not the same as Calibre + +### version 1.7.2 +fix columns list not the same as Calibre + ### version 1.7.2 fix active statue of Shared Search/Replace operation not conserved (always active)