From 0e2ebd9593858874eb5d29a8c468ab54da42a651 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 12 Apr 2024 02:11:30 +0200 Subject: [PATCH] Add membership management --- config/scout.php | 6 ++ .../js/components/ui/SearchPagination.vue | 88 +++++++++++++++++++ resources/js/views/activity/Masslist.vue | 83 +++++++++-------- 3 files changed, 134 insertions(+), 43 deletions(-) create mode 100644 resources/js/components/ui/SearchPagination.vue diff --git a/config/scout.php b/config/scout.php index 6f351189..7b97ea3d 100644 --- a/config/scout.php +++ b/config/scout.php @@ -141,12 +141,18 @@ return [ 'searchableAttributes' => ['fullname', 'address'], 'sortableAttributes' => ['lastname', 'firstname'], 'displayedAttributes' => ['age_group_icon', 'group_name', 'links', 'is_leader', 'lastname', 'firstname', 'fullname', 'address', 'ausstand', 'birthday', 'id', 'memberships', 'bill_kind', 'group_id'], + 'pagination' => [ + 'maxTotalHits' => 1000000, + ] ], Form::class => [ 'filterableAttributes' => ['to'], 'searchableAttributes' => ['name'], 'sortableAttributes' => ['from',], 'displayedAttributes' => ['from', 'name', 'id', 'to'], + 'pagination' => [ + 'maxTotalHits' => 1000000, + ] ] ], ], diff --git a/resources/js/components/ui/SearchPagination.vue b/resources/js/components/ui/SearchPagination.vue new file mode 100644 index 00000000..02a83d91 --- /dev/null +++ b/resources/js/components/ui/SearchPagination.vue @@ -0,0 +1,88 @@ + + + diff --git a/resources/js/views/activity/Masslist.vue b/resources/js/views/activity/Masslist.vue index ecbc9af9..449badce 100644 --- a/resources/js/views/activity/Masslist.vue +++ b/resources/js/views/activity/Masslist.vue @@ -5,42 +5,38 @@
- - + +
- +
-
- +
+