Quote:
Originally Posted by ownedbycats
I have a template to update $#kobostatus (enumerated column):
Code:
program:
category = first_non_empty(
if $#fanficcat then '[Fanfiction]'
elif 'Loans' inlist $#vls then '[Loans]'
elif '\[Kobo Store\]' in $#kobostatus then '[Kobo Store]'
else '[Sideloaded]' fi
);
Is there a better alternative for line 6's "retain '[Kobo Store] if it exists"?
|
What kind of column is 'kobostatus'? What do you mean by "better"?