View Single Post
Old 11-24-2016, 03:37 PM   #8
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,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Irian View Post
Tried this, but unfortunately, it only returns the alphabetically sorted tag list, not the original one that is also displayed in the metadata.
Actually it returns incorrect information. The raw_list function requires a field name, not a value.

Try
Code:
{:'sublist(raw_list('tags', ','), 0, 1, ',')'}
However, I must note that depending on the order of entry of tags is problematic. If *anything* happens to that first tag, for example a case change operation, then the order will change. The order can change for other reasons as well. If the "first" tag is as important as it appears to be then you should create a text custom column (not like tags) and enter it there.
chaley is offline   Reply With Quote