23 Oct 2024 (in calibre preview 7.21)
New template binary operator inlist_field
- inlist_field does the same as inlist except that the right-hand expression must evaluate to a field (column) name. This operator is much faster than inlist because it doesn't convert the field contents to a string. In addition, it works on fields that use a separator other than comma, for example authors. Note that the operator requires the field name not the value, so using $tags will not work. Example:
Code:
'foo$' inlist_field 'tags'