You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Torgeir Veimo <to...@netenviron.com> on 2009/11/24 14:17:00 UTC
sorting on date, with empty date properties
Is there any way to sort on a date property, and get nodes with empty
date properties to occur before those with date values, when sorting
descending?
--
-Tor
Re: sorting on date, with empty date properties
Posted by Thomas Müller <th...@day.com>.
Hi,
Could you add a new Jira "feature request" issue for this? In SQL, the
standard syntax for this is:
order by ... [asc | desc] [nulls [first | last]] ,...
Regards,
Thomas
On Tue, Nov 24, 2009 at 5:03 PM, Marcel Reutegger
<ma...@gmx.net> wrote:
> Hi,
>
> no, that's not possible. it's hardcoded :-/
>
> regards
> marcel
>
> On Tue, Nov 24, 2009 at 14:17, Torgeir Veimo <to...@netenviron.com> wrote:
>> Is there any way to sort on a date property, and get nodes with empty
>> date properties to occur before those with date values, when sorting
>> descending?
>>
>> --
>> -Tor
>>
>
Re: sorting on date, with empty date properties
Posted by Marcel Reutegger <ma...@gmx.net>.
Hi,
no, that's not possible. it's hardcoded :-/
regards
marcel
On Tue, Nov 24, 2009 at 14:17, Torgeir Veimo <to...@netenviron.com> wrote:
> Is there any way to sort on a date property, and get nodes with empty
> date properties to occur before those with date values, when sorting
> descending?
>
> --
> -Tor
>