[Bug 60706] Option to get API:Query results unsorted

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60706

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Low
 CC||aklap...@wikimedia.org
Version|unspecified |1.23-git
   Severity|normal  |enhancement

--- Comment #2 from Andre Klapper aklap...@wikimedia.org ---
Thanks for sharing your idea. 
The bug title does not describe a bug but a solution or feature / new
functionality. Hence setting priority to enhancement.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60706] Option to get API:Query results unsorted

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60706

Brad Jorsch bjor...@wikimedia.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #3 from Brad Jorsch bjor...@wikimedia.org ---
I'm marking this as WONTFIX for the reasons described in comment 1.
Continuation requires that the database queries be sorted.

If clients need the result pages in a particular order, they can easily enough
pull the results into a local data structure and sort them there.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60706] Option to get API:Query results unsorted

2014-02-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60706

Umherirrender umherirrender_de...@web.de changed:

   What|Removed |Added

 CC||umherirrender_de...@web.de

--- Comment #1 from Umherirrender umherirrender_de...@web.de ---
To apply limits and to allow query-continue to work the result of the database
is always in sort order. Without a predefined order it is not possible to get
the next batch, when needed.

In your example there is no continue, but that is only known after receive the
data from the database. In that case it could be possible to sort the result on
the server.

In my opinion it should be easier to sort the result on the client or to
iterate over the given titles and get the part of the result instead of iterate
over the result.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l