Quote:
Originally Posted by chaley
You can use a yes/no column (lets call it #read_yesno) by changing the line
Code:
isread = kwargs.get('#read')
to be
Code:
isread = kwargs.get('#read_yesno')
if isread == 'Yes': isread = 'read'
elif isread == 'No': isread = 'unread'
else: isread = ''
|
Thanks. I knew it should be easy, but my brain has not been cooperating lately.