Add searching by title to composite filters
* calibre-search.el (calibre-search-compose-title): New function. (calibre-search-compose): Add a menu entry for searching by title. * etc/NEWS: Mention this fix.
This commit is contained in:
parent
9e532313c9
commit
6815074635
|
@ -129,6 +129,7 @@ ARGS is the argument list of a transient command."
|
|||
(setf calibre-search-composing-filter
|
||||
(cons (vector ',(intern field) (,(intern (format "calibre-search-chose-%s" field)))) calibre-search-composing-filter))))
|
||||
|
||||
(calibre-search--composition-function "title")
|
||||
(calibre-search--composition-function "author")
|
||||
(calibre-search--composition-function "publisher")
|
||||
(calibre-search--composition-function "tag")
|
||||
|
@ -141,6 +142,7 @@ ARGS is the argument list of a transient command."
|
|||
["Arguments"
|
||||
("-e" "Exclude" "--exclude")]
|
||||
["Compose"
|
||||
("T" "Title" calibre-search-compose-title)
|
||||
("a" "Author" calibre-search-compose-author)
|
||||
("p" "Publisher" calibre-search-compose-publisher)
|
||||
("t" "Tag" calibre-search-compose-tag)
|
||||
|
|
Loading…
Reference in New Issue