Quote:
Originally Posted by Katja_hbg
How to combine
list_join(':@:', list_difference($#readingpool, tags_to_ignore, ','), ',')
list_join(':@:', list_difference($tags, tags_to_ignore, ','), ',')
|
list_join takes an arbitrary number of lists to join, so simply add the second list_difference() function call as another argument to the first list_join. Like this:
Code:
list_join(':@:',
list_difference($#readingpool, tags_to_ignore, ','), ',',
list_difference($tags, tags_to_ignore, ','), ',')
If you wanted to do another column as well then you could expand it further. For example:
Code:
list_join(':@:',
list_difference($#readingpool, tags_to_ignore, ','), ',',
list_difference($tags, tags_to_ignore, ','), ',',
list_difference($#othercolumn, tags_to_ignore, ',')
Obviously(?) you can do whatever processing you like, it doesn't have to be a call to list_difference. You'll notice that these examples look very similar to chaley's above, where the #genre and #collections columns are used as-is (they are not wrapped in a call to the list_difference function). But if you are trying to remove the same tags from each list then the above works great!