View Single Post
Old 02-27-2023, 11:47 AM   #2851
Katja_hbg
Groupie
Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.
 
Posts: 184
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
Quote:
Originally Posted by isarl View Post
You're so close! There's no need to give up when you're so close.
Thanks for your patience - now two-third is done ;-) it works as expected.
But ... if you still have time and interest ... I like to exclude values from two fields and do not know how to join that in the template.

- old setting of collection columns: tags, #readingpool, #fivestar
- target is to reduce tags and readingpool.

- collection columns is now: #fivestar
- template to reduce "readingpool" (leicht/danach) works well.
program:
# Remove tags listed in tags_to_ignore
tags_to_ignore = 'danach, leicht, stopped';
list_join(':@:', list_difference($#readingpool, tags_to_ignore, ','), ',')

How to combine
list_join(':@:', list_difference($#readingpool, tags_to_ignore, ','), ',')
list_join(':@:', list_difference($tags, tags_to_ignore, ','), ',')
Katja_hbg is offline   Reply With Quote