Re: Sorting tables on columns with null values

2016-09-20 Thread Martin Grigorov
Hi Erik,

This should be handled by
https://github.com/apache/isis/blob/3dffc2d96e240982d16131d57d34fc8f54d1292c/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/collectioncontents/ajaxtable/CollectionContentsSortableDataProvider.java#L163-L167
It looks correct to me.
Put a breakpoint and see what happens.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Sep 20, 2016 at 3:30 PM, Erik de Hair  wrote:

> Hi,
>
> This might be a bit off topic but I hope Martin could answer this
> question...
>
> When sorting a table on a column containing (joda LocalDate) null values,
> using the Wicket viewer by clicking the header of the column, it always
> keeps the items with null on top even after reversing the sort order. Is
> there any way to change this behavior?
>
> Thanks,
> Erik
>


Sorting tables on columns with null values

2016-09-20 Thread Erik de Hair

Hi,

This might be a bit off topic but I hope Martin could answer this 
question...


When sorting a table on a column containing (joda LocalDate) null 
values, using the Wicket viewer by clicking the header of the column, it 
always keeps the items with null on top even after reversing the sort 
order. Is there any way to change this behavior?


Thanks,
Erik