> > Best Hippo's, > > Can i do a mix of the <d:score/> and <d:order/> element in > the orderby clausule of a dasl search?
I would guess that it might work, but since you say it doesn't, I'll go for: no, you cannot do that :-) Would you like it to have it? Think it shouldn't be to hard to add it. Regards Ard > > I tested the following code and it didn't work: > <d:orderby> > <d:score/> > <d:order><d:prop><h:title/></d:prop><d:ascending/></d:order> > <d:orderby> > > Greetings, > Amon > > > > > > Subject: RE: [HippoCMS-dev] WEBDAV DASL> Date: Wed, 21 Nov 2007 > > 13:48:44 +0100> From: [EMAIL PROTECTED]> To: > > [email protected]> > > > > > Best Hippo,> > > > > I have > > two question about webdav dals queries:> > > > > > Can i mix the > > <d:score> element and <d:order> element in the > > orderby element > > like below (first i want to order on score > > and if the > score is the > > same then sort it on alphabet)> > > > <d:score>> > <d:order>> > > > <d:score/>> > <d:prop><h:title/></d:prop>> > <d:ascending/>> > > > </d:order> > > I am not sure wether this is supported. I > should check > > it out if you> need it> > > > > If i only have the statement like > > below in my order by > > element of the dasl query:> > > <d:score/>> > > > <d:prop><h:title/></d:prop>> > <d:ascending/>> > </d:order> > > > > > > Why in the end result is the item> > <title>ATA-carnet</title>> > > > coming after> > <title>Buma</title>> > ??> > Well.....if you first > > sort on d:score (which i am not sure actually> works) and then on > > title, why would you think that the A cannot be after> the > B if the B > > has a higher score...? Also the descending ascending> seems > strange to > > me in the context of score> > Ard> > > > > > > > THanks in > advance,> > > > AMon> > > > > _________________________________________________________________> > > > Express yourself instantly with MSN Messenger! Download > today > > it's > > FREE!> > > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01> > > > /********************************************> > > Hippocms-dev: Hippo > > CMS development public mailinglist> > > > > ********************************************> Hippocms-dev: > Hippo CMS > > development public mailinglist > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today > it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01 > /******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist
