Merge lp:~lifeless/launchpad/bug-752153 into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Robert Collins | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 13392 | ||||
Proposed branch: | lp:~lifeless/launchpad/bug-752153 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
247 lines (+22/-102) 8 files modified
lib/canonical/launchpad/doc/batch_navigation.txt (+4/-74) lib/lp/app/browser/root.py (+12/-20) lib/lp/app/browser/tests/launchpad-search-pages.txt (+0/-2) lib/lp/bugs/stories/webservice/xx-bug-tracker.txt (+1/-1) lib/lp/bugs/stories/webservice/xx-bug.txt (+2/-2) lib/lp/services/features/browser/tests/test_changelog.py (+1/-1) lib/lp/translations/browser/tests/pofile-views.txt (+1/-1) versions.cfg (+1/-1) |
||||
To merge this branch: | bzr merge lp:~lifeless/launchpad/bug-752153 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Kowalik (community) | code | Approve | |
Review via email: mp+56505@code.launchpad.net |
Commit message
[r=stevenk][bug=752153] Update lazr.batchnavigator to 1.2.4.
Description of the change
Update our batchnavigator dependency to 1.2.4 which supports database friendly batching (including stable batchs that don't skip/repeat things when folk remove or add items).
There is one caveat which is that the ListRangeFactory will, for 'last' links, do one more count(*) than we do at the moment; I think that this will break things that are already basically broken, or be harmless, and so am going to leave it in place for now. The custom IRangeFactories we will write for complex collections will be able to avoid this - and its needed because of bug 239767.
QA for this should involve checking some api collections as well as e.g. search result pagination. Only the OOPS report will weigh in on the last link change impact.