diff --git a/cps/editbooks.py b/cps/editbooks.py index 85134bcc..7d207ed3 100644 --- a/cps/editbooks.py +++ b/cps/editbooks.py @@ -588,7 +588,7 @@ def edit_book(book_id): # create the function for sorting... calibre_db.update_title_sort(config) - book = calibre_db.get_filtered_book(book_id) + book = calibre_db.get_filtered_book(book_id, allow_show_archived=True) # Book not found if not book: diff --git a/cps/kobo.py b/cps/kobo.py index acb51e68..f7fe0b16 100644 --- a/cps/kobo.py +++ b/cps/kobo.py @@ -52,7 +52,7 @@ from .services import SyncToken as SyncToken from .web import download_required from .kobo_auth import requires_kobo_auth, get_auth_token -KOBO_FORMATS = {"KEPUB": ["KEPUB"], "EPUB": ["EPUB3", "EPUB"]} +KOBO_FORMATS = {"KEPUB": ["KEPUB", "EPUB3"], "EPUB": ["EPUB"]} KOBO_STOREAPI_URL = "https://storeapi.kobo.com" KOBO_IMAGEHOST_URL = "https://kbimages1-a.akamaihd.net" diff --git a/cps/services/simpleldap.py b/cps/services/simpleldap.py index 87a9b469..4125bdab 100644 --- a/cps/services/simpleldap.py +++ b/cps/services/simpleldap.py @@ -85,8 +85,8 @@ def init_app(app, config): log.error(e) -def get_object_details(user=None, group=None, query_filter=None, dn_only=False): - return _ldap.get_object_details(user, group, query_filter, dn_only) +def get_object_details(user=None,query_filter=None): + return _ldap.get_object_details(user, query_filter=query_filter) def bind(): diff --git a/cps/templates/config_edit.html b/cps/templates/config_edit.html index fdf1e687..4c522132 100644 --- a/cps/templates/config_edit.html +++ b/cps/templates/config_edit.html @@ -332,7 +332,7 @@
- +