I have a search form based on my "viewall" but the resulting list gives me a unicode message for the multi-selection list field.
No problem for the general view but only on the view resulting from the search form.
We tried to write the following code in each column of the view:
s = plominoContext.
return str([''.join(', '.join()) for a in s]).replace("","")
Now for a document with a single value for the multiselection list It seems the value is considered as a list.
yes a multiselection field returns a list
but what are you trying to do ?
I tried in this way:
return '' .join(''.join() for a in s).strip('').replace("'",'')
Now it works.
I am still quite curious about what what you try to do :)
Are you trying to remove empty values ?
Log in to post a comment.