View Single Post
Old 06-18-2018, 05:56 AM   #9
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,791
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
However, you can easily add that space yourself with
Code:
{:'re(approximate_formats(), ',', ', ')'}
Aaah, that's better. Clearly it never bothered me much, otherwise I would have thought about reformatting it. Thanks.

I can't recall much about the circumstances when the original custom column went awry, but the symptoms were similar to dnjmama's. Pretty sure it was pre version 1.0. I suspect I would have removed the column, rebuilt the database, ran check library and corrected any anomalies, and then reinstated the custom column as "#bookfiles/Book Files".

I also recall changing the template from {'formats'} to {'approximate-formats'}, but that was at a later date.

Added:
Quote:
Originally Posted by chaley View Post
One subtlety is that on the GUI a book line is calculated once when it is displayed. It is not calculated again until line is removed then redisplayed, the book list is regenerated (sort, search, etc), or if the book itself is "refreshed" because of metadata editing.
FTR : if you delete formats via Book Details context menu or Alt+Del the book line is refreshed.

BR

Last edited by BetterRed; 06-18-2018 at 06:41 AM.
BetterRed is online now   Reply With Quote