View Single Post
Old 02-13-2024, 08:55 PM   #15
chaley
Grand Sorcerer
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: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Karellen View Post
Probably easier to write a note against the author, but no idea how to display that in a column in the library list.
It isn't hard to create a column that contains the notes for an author. Unfortunately there is the problem that a book can have multiple authors. Which one's notes should be displayed?

If you want to try this then you would create a "Column built from other columns". The "contains html" box should be checked. This template returns the HTML note, if any, for the first author for a book.
Code:
program:
	get_note('authors', list_item($authors, 0, '&'), '')
It is possible to use a loop to get the notes from all the authors, but I haven't tried it.

The performance might or might not be acceptable. The only way to know is to try it.
chaley is offline   Reply With Quote