![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 33020
Join Date: May 2011
Device: Kindle Paperwhite
|
![]()
I have a library of comic books and graphic novels. I have created custom columns for all of the various artists that may be involved (Artist, Penciller, Inker, Colorist, Letterer, Cover) and am trying to create a different custom column (Art) that will take all of those columns and make one list of everyone involved in art for the comic.
I have figured out how to pull all the columns into Art: Code:
{#artist}{#pencil:| & |}{#ink:| & |}{#color:| & |}{#letter:| & |}{#cover:| & |} I think there's probably a better way to be doing what I'm doing, so I came here for help. |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,724
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Try Preferences ->Searching->Group Searches
BR |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I think something like this will work.
remember to repeat the capture in the source template (.+){1,} target value \1 (optional description) Append to the destination Repeat for each source column OH: I did this with Bulk mode S&R |
![]() |
![]() |
![]() |
#4 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 33020
Join Date: May 2011
Device: Kindle Paperwhite
|
Yeah, I really want it in a custom column, not a search or a replace.. :-/
I'll keep futzing at it, I guess, unless anyone else has other ideas. |
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() That is why it allows specifiy both Source and destination |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 33020
Join Date: May 2011
Device: Kindle Paperwhite
|
Yeah, but it won't change dynamically. It's a solution, just not my preference.
|
![]() |
![]() |
![]() |
#7 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,724
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Did you try group searches ?
|
![]() |
![]() |
![]() |
#8 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,724
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Code:
{#artist:'list_union($,"{#pencil}", " & ")'} Code:
{#artist:'list_union($,list_union(field("#pencil"),field("#ink")," & "), " & ")'} Code:
program: people = list_union(field('#artist'), field('#pencil'), " & "); people = list_union(people, field('#ink'), " & "); people = list_union(people, field('#color'), " & "); people = list_union(people, field('#letter'), " & "); people = list_union(people, field('#cover'), " & "); This does produce an ampersand separated list. It only has each name one. The tag browser show each name separately. But, the sorting is probably not correct. I don't see a way to have them treated as names. So, the sorting will be "FN LN" rather than "LN, FN" like it would for the authors column. |
|
![]() |
![]() |
![]() |
#10 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 33020
Join Date: May 2011
Device: Kindle Paperwhite
|
Sorting isn't an issue, nor is last first. This looks like EXACTLY what I wanted. I'll try it. Thanks!
|
![]() |
![]() |
![]() |
#11 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 33020
Join Date: May 2011
Device: Kindle Paperwhite
|
Okay... tried this, only one thing didn't work... I have one place where instead of one colorist I have two. And they are still showing up as one list item (both names separated by an &).
|
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Sorry, that seemed to work here, but, looking again, I didn't look at all the possibilities.
Unfortunately, I can't see how to do this as an ampersand separated list like the authors. Best I can do is as a comma separated list. Then each name is shown in the tag browser as separate entries under the column. The following should to work: Code:
program: people = list_union(raw_list('#artist',','), raw_list('#pencil',','), ','); people = list_union(people, raw_list('#ink',','), ','); people = list_union(people, raw_list('#color',','), ','); people = list_union(people, raw_list('#letter',','), ','); people = list_union(people, raw_list('#cover',','), ','); To get the result treated as names, it would require a change in calibre. |
![]() |
![]() |
![]() |
#13 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 33020
Join Date: May 2011
Device: Kindle Paperwhite
|
That worked! Thank you again so much! I'm not overly worried about the difference between "tag" and "name" in this instance (though name would obviously be ideal), so this is absolutely perfect.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding custom column with any lookup-name gives me empty column as a result? | Ahu Lee | Library Management | 16 | 06-09-2019 12:14 PM |
Move selected data from series column to a new custom column | fvdham | Library Management | 3 | 06-02-2017 03:49 PM |
Custom column returns value based on value of another custom column? | calvin-c | Calibre | 3 | 09-14-2013 02:24 PM |
how to move value(s) of tag column to a custom made column | zoorakhan | Library Management | 0 | 12-08-2012 03:53 AM |
Merge/Keep First Book - Yes/No Column Not Merged Correctly | nynaevelan | Library Management | 1 | 08-07-2011 09:52 AM |