View Single Post
Old 05-07-2023, 12:40 PM   #616
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,437
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by dunhill View Post
If in the library column it says Cúspide In another column it would have to show me only the identifier of cuspide

If in the library column it says Amazon In another column it would have to show me only the amazon identifier

I thought that essentially what the ownbycats template did could help me, if you can guide me in this regard, I would be very grateful
I do something simillar for my links column. Here's something similar, but with urls_from_identifiers:

Code:
program:
	list_join(
		 ', ',
## Fanfics 
		if $publisher=='Fanfiction.net' then urls_from_identifiers('ffnet:' & select($identifiers, 'ffnet'), 0) fi, ', ',
		if $publisher=='Archive of Our Own' then urls_from_identifiers('ao3:' & select($identifiers, 'ao3'), 0) fi, ',',

	)
You can probably ignore the list_join() bit. Also, if your column is a tag-like, you'll need to use 'Something' inlist $#whatever instead.

Last edited by ownedbycats; 05-07-2023 at 12:44 PM.
ownedbycats is offline   Reply With Quote