coldwellpacific / variman

Automatically exported from code.google.com/p/variman
0 stars 0 forks source link

Order Search Results when Offset is Requested #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It is recommended that the search results "SHOULD be returned in a consistent 
order based on an ordering of the KeyField of the Resource".

This patch adds an ORDER BY clause for the KeyField column if an Offset is 
requested.

This patch intended to be applied after the patches in issues #6 and #7 have 
been applied.

Original issue reported on code.google.com by work4dhu...@gmail.com on 13 Feb 2011 at 6:36

Attachments:

GoogleCodeExporter commented 8 years ago
This patch also fixes the count that is returned when Offset is specified. It 
used to return the count (the number of records that match the search query) 
minus the specified offset.

Original comment by work4dhu...@gmail.com on 13 Feb 2011 at 6:48

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r2094.

Original comment by jazzklein on 13 Feb 2011 at 9:24