diff options
| author | Garren Smith <garren.smith@gmail.com> | 2014-03-20 09:46:59 +0200 |
|---|---|---|
| committer | Garren Smith <garren.smith@gmail.com> | 2014-04-10 12:04:52 +0200 |
| commit | bbcd98bbfd47fa8317bba71378911b120f265bd2 (patch) | |
| tree | d2e7c9af269f7ff1eeb56bef136379978dd4080f /src/Makefile.am | |
| parent | fbc0545e39d7871afc469f3079dee67f823f3220 (diff) | |
| download | couchdb-bbcd98bbfd47fa8317bba71378911b120f265bd2.tar.gz | |
Fauxton: Improved pagination
This is a new version of pagination in Fauxton using skip. It uses a
PagingCollection that has the main algorithm for pagination and exposes
a nice api.
This is an intermediate step as this is a much better pagination than we
have at the moment. However using just skip for pagination is not
optimal as there are two cases where skip pagination fails - For very
large skips and for when documents that a user have paginated past have
been deleted.
The next step once this has landed will be to add in a startkey_docid
pagination as well. The PagingCollection would then decided which method
to use to paginate for an index.
Diffstat (limited to 'src/Makefile.am')
| -rw-r--r-- | src/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index e1007f962..07ee5e150 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -257,6 +257,7 @@ FAUXTON_FILES = \ fauxton/assets/js/libs/require.js \ fauxton/assets/js/libs/spin.min.js \ fauxton/assets/js/plugins/backbone.layoutmanager.js \ + fauxton/assets/js/plugins/cloudant.pagingcollection.js \ fauxton/assets/js/plugins/jquery.form.js \ fauxton/assets/js/plugins/prettify.js \ fauxton/assets/js/plugins/beautify.js\ |
