Jeremie BOUSQUET a écrit :
Hello,
I'm using the (fantastic) new live tables to display components of a certain class. Everything works well, except for one thing - but functionality may be discutable...
One of the fields of my class is of type Static List, is displayed as checkboxes and has multi-select activated. This field is correctly displayed in live table, with "type" : "list", and all checked values are displayed separated by a space character (not that good though, if some of the values contain spaces...). Problem is for sorting and filtering : - filtering on a value just leaves the table as it is (displays all entries) [Note : it seems in 2.0-RC2, filtering this kind of field removes all entries]
This would be a bug as filtering should work. I have this working on pre-2.0 livetables. Create a JIRA..
- sorting table on this field just changes order, but with no link to values (no link I could infer).
Sorting is impossible on a multi valued field. In your field definition you should say that you don't want sorting
I believe sorting a multi-valued field is not really a good idea, and I wonder what to expect. As order of values is kept, it might have a sense maybe. But filtering would be helpful though. I think a line should be retained if one of the values matches the filter.
Except for this case, the live table works perfectly well.
WDYT ? (did not find any jira about that, maybe missed it).
Regards, Jeremie _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost