Quote:
Originally Posted by JimmXinu
I am intrigued... but also mildly confused. Can you give a couple examples of search with a template?
|
There are two examples in the
search interface section of the manual, at the very end of the section. I suggest you use the "Advanced search" dialog to build a few so you can see the syntax.
The idea, inspired by compurandom's query, is that some custom columns exist only for searching. These can go away, replaced by a search that uses a template to compute the value. Also, searches can now also use non-metadata template functions such as formats_sizes(), booksize(), connected_device_name(), current_library_name(), etc.
I am also working on "stored templates", which are basically template subprograms. These will interact well with template searches, permitting one to build a complex template to compute a value then "call" that template, with parameters if desired, from a search.