View Single Post
Old 01-06-2022, 04:42 AM   #1598
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,833
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Orr101 View Post
Hello,
I tend to keep multiple format of the same book. I added the "size" column, but
it does not show me what is the size of each format, and I have to keep opening the location of each book.
It would be useful to be able to ask to see size of a specific format only.

(it may be this is already doable w/o a plugin - I started to look at the
template language, and specifically conditional templates - has anyone done this or can offer any advice?)

Thanks

(I have searched, and did not find a previous discussion of this.)
You can get a list of the sizes via the formats_sizes template function, see ==>> Reference for all built-in template language functions

e.g a column like so:

Click image for larger version

Name:	Screenshot 2022-01-06 204050.jpg
Views:	164
Size:	62.0 KB
ID:	191373

Code:
{:'select(formats_sizes(),'EPUB')'}
BR
BetterRed is offline   Reply With Quote