Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2709)

Issue 158010043: Add 'start' parameter to API search.

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 6 months ago by bac
Modified:
9 years, 6 months ago
Reviewers:
j.c.sackett, mp+238457
Visibility:
Public.

Description

Add 'start' parameter to API search. The start is the zero-based index into the search results. It can be used in conjunction with limit. https://code.launchpad.net/~bac/charmworld/bug-1379397/+merge/238457 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add 'start' parameter to API search. #

Patch Set 3 : Add 'start' parameter to API search. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -7 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M charmworld/search.py View 4 chunks +16 lines, -1 line 0 comments Download
M charmworld/tests/test_search.py View 2 chunks +42 lines, -0 lines 0 comments Download
M charmworld/views/api/__init__.py View 5 chunks +24 lines, -6 lines 0 comments Download

Messages

Total messages: 5
bac
Please take a look.
9 years, 6 months ago (2014-10-15 15:07:44 UTC) #1
j.c.sackett
Brad-- Thanks, just one minor note. https://codereview.appspot.com/158010043/diff/1/charmworld/search.py File charmworld/search.py (right): https://codereview.appspot.com/158010043/diff/1/charmworld/search.py#newcode701 charmworld/search.py:701: hits = hits[start:] ...
9 years, 6 months ago (2014-10-15 16:39:16 UTC) #2
bac
Thanks for the review JC. The code works as is but I'll move it up ...
9 years, 6 months ago (2014-10-15 16:43:57 UTC) #3
bac
. https://codereview.appspot.com/158010043/diff/1/charmworld/search.py File charmworld/search.py (right): https://codereview.appspot.com/158010043/diff/1/charmworld/search.py#newcode701 charmworld/search.py:701: hits = hits[start:] The way it is is ...
9 years, 6 months ago (2014-10-15 16:44:10 UTC) #4
bac
9 years, 6 months ago (2014-10-15 18:17:55 UTC) #5
Jon I assume you intended to mark the review as LGTM but forgot.

So I'm doing it myself so I can land. Apologies if that wasn't your intent.

--bac
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b