mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 12:59:36 +02:00
chore: Increase page size to 25 for adventures and collections views
This commit is contained in:
parent
7c61fa3363
commit
32f5c1a806
3 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ from django.shortcuts import get_object_or_404
|
||||||
from rest_framework import status
|
from rest_framework import status
|
||||||
|
|
||||||
class StandardResultsSetPagination(PageNumberPagination):
|
class StandardResultsSetPagination(PageNumberPagination):
|
||||||
page_size = 10
|
page_size = 25
|
||||||
page_size_query_param = 'page_size'
|
page_size_query_param = 'page_size'
|
||||||
max_page_size = 1000
|
max_page_size = 1000
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
let isShowingCreateModal: boolean = false;
|
let isShowingCreateModal: boolean = false;
|
||||||
let newType: string = '';
|
let newType: string = '';
|
||||||
|
|
||||||
let resultsPerPage: number = 10;
|
let resultsPerPage: number = 25;
|
||||||
|
|
||||||
let next: string | null = data.props.next || null;
|
let next: string | null = data.props.next || null;
|
||||||
let previous: string | null = data.props.previous || null;
|
let previous: string | null = data.props.previous || null;
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
let isShowingCreateModal: boolean = false;
|
let isShowingCreateModal: boolean = false;
|
||||||
let newType: string = '';
|
let newType: string = '';
|
||||||
|
|
||||||
let resultsPerPage: number = 10;
|
let resultsPerPage: number = 25;
|
||||||
|
|
||||||
let currentView: string = 'cards';
|
let currentView: string = 'cards';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue