+ Import
+ Import batches
+
diff --git a/api/config/settings/common.py b/api/config/settings/common.py
index 87740e818..6a2299bb4 100644
--- a/api/config/settings/common.py
+++ b/api/config/settings/common.py
@@ -54,6 +54,7 @@ THIRD_PARTY_APPS = (
'rest_auth.registration',
'mptt',
'dynamic_preferences',
+ 'django_filters',
)
# Apps specific for this project go here.
@@ -298,7 +299,7 @@ REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.IsAuthenticated',
),
- 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
+ 'DEFAULT_PAGINATION_CLASS': 'funkwhale_api.common.pagination.FunkwhalePagination',
'PAGE_SIZE': 25,
'DEFAULT_AUTHENTICATION_CLASSES': (
diff --git a/api/funkwhale_api/common/pagination.py b/api/funkwhale_api/common/pagination.py
new file mode 100644
index 000000000..224c470dc
--- /dev/null
+++ b/api/funkwhale_api/common/pagination.py
@@ -0,0 +1,6 @@
+from rest_framework.pagination import PageNumberPagination
+
+
+class FunkwhalePagination(PageNumberPagination):
+ page_size_query_param = 'page_size'
+ max_page_size = 25
diff --git a/front/src/components/favorites/List.vue b/front/src/components/favorites/List.vue
index 053f62bc6..7e3e23505 100644
--- a/front/src/components/favorites/List.vue
+++ b/front/src/components/favorites/List.vue
@@ -17,6 +17,7 @@
+
+
+
+
+
+
+
diff --git a/front/src/components/library/Library.vue b/front/src/components/library/Library.vue
index 56b750a4a..da9ac19b3 100644
--- a/front/src/components/library/Library.vue
+++ b/front/src/components/library/Library.vue
@@ -2,8 +2,11 @@
+
+
+
+
+ Browsing artists
+
+
+
+
+
+
+