View Single Post
Old 03-11-2015, 11:58 PM   #46
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Yes, that would be the basic idea behind any solution. The only real improvement would be a way to automatedly add that value, which would require a full database context and thus a calibre-debug script.

Example here (this is much the same concept, though it accomplishes a different goal): https://www.mobileread.com/forums/sho...&postcount=631

instead of in_list() you could use for readability (triggers when the column is non-empty):

Code:
various_authors=test(
	field('#serie'),
	'',
	 strcat(' - ', field('authors'))
);
eschwartz is offline   Reply With Quote