Quote:
Originally Posted by ownedbycats
I ran into a weird situation. I had a fanfiction with the @cleanup tag. I mistakenly ran send-to-device before removing the tag. #kobopath returned '@cleanup' instead of the expected Fanfiction.Fandom tag. What happened?
|
The order of the tags is not guaranteed so you don't know the value of the first tag. In other words,
Code:
sublist($tags, 0, 1, ',')
returns the first tag in the list, which could be any of the tags.
If order must be known then you need to sort the tags before the sublist. Or strip out the tags you don't want to return. Or do something else to get the tag you actually want.