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 11-03-2022, 10:40 PM   #1
wan1967
Junior Member
wan1967 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2022
Device: ipad
I have a problem with custom search.

How can I do a custom search when the title and series are the same or different?
Below is an example where I want to search for PDF files with the same title and series, but it doesn't work.
#formats:"PDF" and title:"=series"
wan1967 is offline   Reply With Quote
Old 11-04-2022, 02:36 AM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
To compare the content of columns (e.g. title and series) you need to use the Multi-Column-Search plugin ==>> Index of plugins

BR
BetterRed is offline   Reply With Quote
Advert
Old 11-04-2022, 05:54 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
You can do this with a template search. I can't provide a tested example at the moment but the template would be something like
Code:
template: if $series == $title then 'yes' else 'no' fi
Use the advanced search dialog Template search tab. Set the return type to text and the check value to yes.
chaley is offline   Reply With Quote
Old 11-04-2022, 08:36 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Here is a tested example.

The template:
Code:
program: if $series == $title then 'yes' else 'no' fi
The advanced Template search dialog:
Click image for larger version

Name:	Clipboard01.png
Views:	74
Size:	27.3 KB
ID:	197516

The result of running the search:
Click image for larger version

Name:	Clipboard02.png
Views:	79
Size:	7.5 KB
ID:	197517
chaley is offline   Reply With Quote
Old 11-04-2022, 10:20 AM   #5
wan1967
Junior Member
wan1967 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2022
Device: ipad
Thank you

Thanks for those who answered my question.
wan1967 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search Custom Columns Majik Library Management 2 12-10-2019 02:14 PM
Custom search engine in Viewer? tobeabletopost Calibre 8 06-19-2015 12:55 PM
Search by Custom Column - is this possible zeekles Marvin 1 10-18-2014 04:32 AM
Search using custom column macnab69 Library Management 4 05-19-2013 12:33 PM
Problem using 'Advanced Search' with 'Search in Forum' Wetdogeared Feedback 6 06-21-2011 09:37 AM


All times are GMT -4. The time now is 07:55 AM.


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