[Groonga-commit] droonga/express-droonga at 5954339 [master] Move the offset element position to the output element

Back to archive index

naoa null+****@clear*****
Sun Mar 2 23:43:34 JST 2014


naoa	2014-03-02 23:43:34 +0900 (Sun, 02 Mar 2014)

  New Revision: 595433968673973e53be7831dab7fc55e7c94d1c
  https://github.com/droonga/express-droonga/commit/595433968673973e53be7831dab7fc55e7c94d1c

  Merged 7adfe8a: Merge pull request #19 from naoa/fix-restapi-offset

  Message:
    Move the offset element position to the output element

  Modified files:
    lib/adapter/api/rest-request-builder.js

  Modified: lib/adapter/api/rest-request-builder.js (+1 -1)
===================================================================
--- lib/adapter/api/rest-request-builder.js    2014-02-28 12:36:21 +0900 (9adb4a9)
+++ lib/adapter/api/rest-request-builder.js    2014-03-02 23:43:34 +0900 (b70a80b)
@@ -64,7 +64,7 @@ function searchRequestBuilder(request) {
     queries[queryName].condition = condition;
 
   if (typeof queryParams.offset == 'string')
-    queries[queryName].offset = getIntegerValue(queryParams, 'offset');
+    queries[queryName].output.offset = getIntegerValue(queryParams, 'offset');
   if (typeof queryParams.sort_by == 'string')
     queries[queryName].sortBy = queryParams.sort_by.split(',');
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index