Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-21-2021, 01:13 AM   #1
hlhp
Member
hlhp began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Mar 2019
Device: none
How to create virtual library to match the top most level category.

for example, category fields like

Fiction
Fiction.Horror

How can I create a search to match both of them?

#field:"=Fiction" << this will only match the first one.
hlhp is offline   Reply With Quote
Old 03-21-2021, 05:14 AM   #2
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
This matches all items that have fiction as the top level:

Code:
#field:"=.Fiction"
Note that the above will not match a tag like foo.Fiction where fiction is not the top level. If you want to match fiction even if it is not the top level use this:

Code:
#field:"Fiction"
Also note that matching in calibre search is case-insensitive.
capink is offline   Reply With Quote
Advert
Old 03-21-2021, 09:01 AM   #3
hlhp
Member
hlhp began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Mar 2019
Device: none
thank you, works flawlessly.
hlhp is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Virtual Library with a sort? lagatha Library Management 5 03-13-2019 03:11 PM
Create Virtual Library of Books not Read bongorash Library Management 2 12-08-2018 11:59 AM
Help with custom search to create virtual library BunnyGal Library Management 10 01-09-2014 08:56 PM
Create virtual library on device connect Lofwyr23 Library Management 4 01-01-2014 10:08 AM
Initiative to Create a Mobile Top-Level Domain TadW Lounge 0 03-10-2004 04:09 PM


All times are GMT -4. The time now is 10:59 AM.


MobileRead.com is a privately owned, operated and funded community.