From 34f7b9eaf4cba97412481f659abe35c3e85eb013 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 11 Aug 2024 20:18:29 +0530 Subject: [PATCH] Fix #2076515 [calibredb list command ignores fields option](https://bugs.launchpad.net/calibre/+bug/2076515) --- src/calibre/db/cli/cmd_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/db/cli/cmd_list.py b/src/calibre/db/cli/cmd_list.py index 25fa54064e..032b12e670 100644 --- a/src/calibre/db/cli/cmd_list.py +++ b/src/calibre/db/cli/cmd_list.py @@ -170,7 +170,7 @@ def do_list( ): if sort_by is None: ascending = True - if dbctx.is_remote and (template or template_file or template_title): + if dbctx.is_remote and (template or template_file): raise SystemExit(_('The use of templates is disallowed when connecting to remote servers for security reasons')) if 'template' in (f.strip() for f in fields): if template_file: