> 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 :-( SMW 0.7 further results are properly sorted. Dmitriy ------------------------------------------------------------------------- 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