View Single Post
Old 09-19-2014, 02:28 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,797
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Bookjunkie - Tags is a built in column I cannot change its type.

@davidfor - thanks, no secret list_unsort function then

Can you recall if the opposite solution was considered, i.e a custom column with Column Type of "Comma separated text, like tags, shown in the tag browser" was be sorted like tags are always sorted. Yes they are sorted in the Book List, but not in Book Details and hence not when used in a template.

If a '!' was prepended to the Tag that I want first, that would force it to the top if the list.

Can someone furnish me with a template that will examine the first character of the first tag and if it is '!' then return the substring of first tag from position 1 to end, otherwise return the first tag. I tried but it didn't work

So !Underpass would return Underpass and Crossover would return Crossover.

Quote:
Originally Posted by chaley View Post
I have submitted code to Kovid for a new formatter function "raw_list", an analog of the existing raw_field function. It returns the list in the order found in the db..
Added : @chaley - yet again

BR

Last edited by BetterRed; 09-19-2014 at 02:33 AM.
BetterRed is offline   Reply With Quote