Skip to content

Commit

Permalink
feat: Add new pagination size ranges (#1667)
Browse files Browse the repository at this point in the history
This PR includes 50 and 100 pagination size options

* remove 5 range

* size to 10

Closes #1578

(cherry picked from commit 618b149)
  • Loading branch information
leiyre authored and frascuchon committed Aug 22, 2022
1 parent a106ec4 commit 5b4f1f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/models/DatasetViewSettings.js
Expand Up @@ -23,9 +23,9 @@ class Pagination extends Model {
static fields() {
return {
id: this.string(null),
size: this.number(5),
size: this.number(10),
page: this.number(1),
pageSizeOptions: this.attr([1, 5, 10, 20]),
pageSizeOptions: this.attr([1, 10, 20, 50, 100]),
maxRecordsLimit: this.number(10000),
disabledShortCutPagination: this.boolean(false),
};
Expand Down

0 comments on commit 5b4f1f2

Please sign in to comment.