https://bugzilla.wikimedia.org/show_bug.cgi?id=45298
Web browser: ---
Bug ID: 45298
Summary: Semantic MediaWiki Ask API not sorting
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Semantic MediaWiki
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
When I execute this #ask query in a wikipage I get a properly sorted result
set:
{{#ask: [[Category:Event]][[Has event type::Tournament]][[Exclude
stats::False]][[Has match count::>>0]][[Has start date::+]]|?Has team
count|?Has match count|?Has start date|sort=Has start date|order=asc}}
See http://wiki.planetkubb.com/wiki/User:Thingles/Scratch3
But when I execute the same query via the Ask API sorting isn't occurring:
http://wiki.planetkubb.com/w/api.php?action=ask&query=[[Category%3AEvent]][[Has%20event%20type%3A%3ATournament]][[Exclude%20stats%3A%3AFalse]][[Has%20match%20count%3A%3A%3E%3E0]][[Has%20start%20date%3A%3A%2B]]|%3FHas%20team%20count|%3FHas%20match%20count|%3FHas%20start%20date|sort%3DHas%20start%20date|order%3Dasc&format=json
I've triple checked things and I don't think I'm doing anything wrong in my
request.
I'm using master branch current pull from today of SMW 1.9 alpha and MediaWiki
1.20.2.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l