Thread: Publisher count
View Single Post
Old 11-14-2024, 05:22 AM   #1
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,614
Karma: 7891011
Join Date: Sep 2020
Device: none
Publisher count

Hi chaley,

This is mostly out of curiosity as I'm exploring the Template functions.

I'm using the plugin Author Book Count to populate a column that stores the total number of books by each author while also providing an optional integer column that supports arithmetic search queries, named abc_numeric (I have a grouped search using 'abc' as lookup alias instead). So I sometimes do searches like

Code:
not abc:=1
Now I was thinking of creating a similar column for Publisher and I found that using...

Code:
program: book_count('publisher',0);
...doesn't work, so my query is incorrect.

Would you please advise a good way to create such a column?

(I have already set the tweak allow_template_database_functions_in_composites to True.)

Last edited by Comfy.n; 11-14-2024 at 06:27 AM. Reason: removed the # symbol
Comfy.n is offline   Reply With Quote