![]() |
#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" |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
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 | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,443
Karma: 8012886
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 |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,443
Karma: 8012886
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: |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2022
Device: ipad
|
Thank you
Thanks for those who answered my question.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
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 |