View Single Post
Old 12-11-2022, 09:06 AM   #5
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,082
Karma: 76037135
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thanks.

When trying to get the new ISBN back into the identifiers field, I tried this:

Code:
program: 

	isbn = columnupdate_identifier_isbnconvert();
	
	newisbn = strcat('isbn:', isbn);

	list_union($identifiers, newisbn, ',')
Template tester shows it producing a result of
isbn:9780690042399, goodreads:2152001, isbn:0690042396

However, actually running it fails, I think because the identifiers field won't accept the isbn value when one already exists. What would be the best option for either

a) instead of list_union, replacing the ISBN;
b) removing the existing ISBN before doing the list_union?

I thought list_re should work, but I'm having trouble with the syntax.

Last edited by ownedbycats; 12-11-2022 at 09:54 AM.
ownedbycats is offline   Reply With Quote