Thread: custom export
View Single Post
Old 10-11-2011, 07:13 AM   #5
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,784
Karma: 1212746
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by iomari View Post
In the left pane, the "formats" field shows the total for each format separately. How can I access the function that breaks down each format like that?
What exactly are you trying to do?

If you are trying to find a template language function that returns the number of (for example) epubs in the library, there isn't one. Template functions operate on individual books, not on a database.

If you are trying to find the number of formats for a specific book, then use the count function, as in {:'count(field('formats'), ',')'}.
chaley is offline   Reply With Quote