Quote:
Originally Posted by chaley
Enhancement: the template could verify that the id actually exists, which can happen because of an input error or deleting a book. If the id doesn't exist then a message is displayed. Something like this:
Code:
program:
j = '';
for id in $#mytextmult:
if j then j = j & ', ' fi;
id_exists = book_count('id:' & id, 0);
if id_exists != 1 then
j = j & 'No such id ' & id
else
j = j & '<a href="' & 'calibre://show-book/_hex_-' &
to_hex(current_library_name()) & '/' & id & '">' & id & '</a>'
fi
rof
which produces this:
Attachment 196676
|
Hi chaley
I get this error
Code:
VORLAGENFEHLER The book_count() function cannot be used in a composite column
Any idea?
Thank you!