On Donnerstag, 13. Dezember 2007, cnit wrote: > > The reason is that SMW can only sort by properties that are part of the > > core query. Print statements such as "?Date" may or may not lead to one > > (or more) outputs per query result, but are not used in the initial SQL > > query (so as not to increase the number of result rows via printouts). > > Ah, I see. They separate which fields should be printed out from the > query itself. > > > So what you need to do is to add Date to the query: > > > > {{#ask: [[Category:News]] [[Date::+]] | > > ... > > Now it works, thank you. But there's still one disappointment (could > be my misunderstanding, of course) - the further results link of this > query doesn't sort the results :-(
Indeed. This was fixed now in SVN. -- Markus > > SMW 0.7 further results are properly sorted. > Dmitriy -- Markus Krötzsch Institut AIFB, Universät Karlsruhe (TH), 76128 Karlsruhe phone +49 (0)721 608 7362 fax +49 (0)721 608 5998 [EMAIL PROTECTED] www http://korrekt.org
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel