[Bug 45303] api.php ask response breaks sorting

2013-02-27 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303 --- Comment #8 from cariaso --- http://www.ietf.org/rfc/rfc4627.txt An object is an unordered collection of zero or more name/value pairs, where a name is a string and a value is a string, number, boolean, null, object, or array. An a

[Bug 45303] api.php ask response breaks sorting

2013-02-27 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303 --- Comment #7 from cariaso --- I recognize the issue has been closed. But will continue to record some relevant notes on this topic. http://search.cpan.org/~mlehmann/JSON-XS-2.33/XS.pm#JSON_->_PERL -- You are receiving this mail because: Yo

[Bug 45303] api.php ask response breaks sorting

2013-02-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303 Jeroen De Dauw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 45303] api.php ask response breaks sorting

2013-02-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303 --- Comment #5 from Jamie Thingelstad --- Sorry, I can confirm the comment above. I forgot that my JSON formatter extension was displaying an interpretation of the raw results. Indeed, the raw result from the API is indeed sorted. But once the

[Bug 45303] api.php ask response breaks sorting

2013-02-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303 --- Comment #4 from cariaso --- The json response text is correctly ordered, but because the type is a {} instead of a [] all of the libraries which turn the response into an object do not preserve the ordering. -- You are receiving this mail

[Bug 45303] api.php ask response breaks sorting

2013-02-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303 --- Comment #3 from MWJames --- Just to chip in here, the SMW\DISerializer did not change the output recently and it was always an results dictionary object (rather then the proposed change to an array). -- You are receiving this mail because

[Bug 45303] api.php ask response breaks sorting

2013-02-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303 --- Comment #2 from Jeroen De Dauw --- > This is because "results" is returned as an object instead of as a list. In JS, maps are order dependent while arrays are not. Don't see how returning results as map would cause a sorting problem. It se

[Bug 45303] api.php ask response breaks sorting

2013-02-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303 Nischay Nahata changed: What|Removed |Added CC||ja...@thingelstad.com --- Comment #1