11-03-2022, 10:40 PM | #1 |
Junior Member
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" |
11-04-2022, 02:36 AM | #2 |
null operator (he/him)
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 |
Advert | |
|
11-04-2022, 05:54 AM | #3 |
Grand Sorcerer
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 |
11-04-2022, 08:36 AM | #4 |
Grand Sorcerer
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 result of running the search: |
11-04-2022, 10:20 AM | #5 |
Junior Member
Posts: 5
Karma: 10
Join Date: Nov 2022
Device: ipad
|
Thank you
Thanks for those who answered my question.
|
Advert | |
|
|
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 |