View Single Post
Old 01-30-2022, 10:10 AM   #15
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by capink View Post
The mi._proxy_metadata.user_categories was the way I saw it done in one of the builtin template functions. But since you recommend mi.user_categories(), I will be using that instead.
And you were right. There are cases where mi.user_categories gives the wrong answer, while mi._proxy_metadata.user_categories always works. The problems can arise in device and plugboard templates.

Sorry about the noise in the channel.
Quote:
Originally Posted by Wiggo View Post
@chaley

I don't even know what to say - thank you so much!

I think it's really great how you spend your time and help noobs like me out of trouble.
You are welcome. And it was partly for me. I needed to be sure that there wasn't a strange bug somewhere in template processing.
chaley is offline   Reply With Quote