![]() |
#1 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,971
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Saved Searches: OR based on connected_device_name
This is more of a "wonder if this is possible" than something I actually want to do, but:
Here's the search I have right now: Code:
(ondevice:true) OR (#onkobo:true) I was thinking that since connected_device_name is there (Action Chains uses it for conditionals), there might be a way to use that - use ondevice if it matches "Kobo Aura HD" and then fallback to #onkobo when it matches a null. is this possible? Last edited by ownedbycats; 01-29-2021 at 12:23 AM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,445
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You can do this with template search. Set the field names appropriately. Ignore the error in the template editor. I need to look at why that is happening.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,971
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thank you.
![]() I can also see this being useful for someone with multiple devices, if they want to do different searches dependent on which device is plugged in. Last edited by ownedbycats; 01-29-2021 at 07:06 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Saved Searches: Recursing hierarchical searches | ownedbycats | Library Management | 7 | 01-18-2021 05:33 AM |
Saved Searches? | jim3692 | Sigil | 3 | 04-26-2020 06:10 PM |
Saved Searches and focus? | Phssthpok | Editor | 2 | 01-07-2018 07:26 AM |
Saved searches | abecedarian | Sigil | 5 | 04-14-2017 06:48 PM |
Where are searches saved? | travger | Calibre | 2 | 08-26-2012 01:37 PM |