diff --git a/src/components/FormBottomBar.vue b/src/components/FormBottomBar.vue index 16a1269..3f96f55 100644 --- a/src/components/FormBottomBar.vue +++ b/src/components/FormBottomBar.vue @@ -1,9 +1,9 @@ + \ No newline at end of file diff --git a/src/components/Pagination.vue b/src/components/Pagination.vue index 8b6ead5..194a328 100644 --- a/src/components/Pagination.vue +++ b/src/components/Pagination.vue @@ -1,9 +1,10 @@ @@ -18,7 +17,7 @@ diff --git a/src/components/admin/club/newsletter/NewsletterPreviewModal.vue b/src/components/admin/club/newsletter/NewsletterPreviewModal.vue index eac4d6d..c5b3b4a 100644 --- a/src/components/admin/club/newsletter/NewsletterPreviewModal.vue +++ b/src/components/admin/club/newsletter/NewsletterPreviewModal.vue @@ -15,7 +15,7 @@ import { mapState, mapActions } from "pinia"; import { useModalStore } from "@/stores/modal"; import Spinner from "@/components/Spinner.vue"; import type { AxiosResponse } from "axios"; -import { useNewsletterPrintoutStore } from "@/stores/admin/newsletterPrintout"; +import { useNewsletterPrintoutStore } from "@/stores/admin/club/newsletter/newsletterPrintout"; diff --git a/src/components/admin/settings/calendarType/DeleteCalendarTypeModal.vue b/src/components/admin/settings/calendarType/DeleteCalendarTypeModal.vue index e974962..46642ec 100644 --- a/src/components/admin/settings/calendarType/DeleteCalendarTypeModal.vue +++ b/src/components/admin/settings/calendarType/DeleteCalendarTypeModal.vue @@ -29,7 +29,7 @@ import { useModalStore } from "@/stores/modal"; import Spinner from "@/components/Spinner.vue"; import SuccessCheckmark from "@/components/SuccessCheckmark.vue"; import FailureXMark from "@/components/FailureXMark.vue"; -import { useCalendarTypeStore } from "@/stores/admin/calendarType"; +import { useCalendarTypeStore } from "@/stores/admin/settings/calendarType"; diff --git a/src/components/admin/settings/qualification/CreateQualificationModal.vue b/src/components/admin/settings/qualification/CreateQualificationModal.vue index 691bbd1..a70a710 100644 --- a/src/components/admin/settings/qualification/CreateQualificationModal.vue +++ b/src/components/admin/settings/qualification/CreateQualificationModal.vue @@ -36,8 +36,8 @@ import { useModalStore } from "@/stores/modal"; import Spinner from "@/components/Spinner.vue"; import SuccessCheckmark from "@/components/SuccessCheckmark.vue"; import FailureXMark from "@/components/FailureXMark.vue"; -import { useQualificationStore } from "@/stores/admin/qualification"; -import type { CreateQualificationViewModel } from "@/viewmodels/admin/qualification.models"; +import { useQualificationStore } from "@/stores/admin/settings/qualification"; +import type { CreateQualificationViewModel } from "@/viewmodels/admin/settings/qualification.models"; diff --git a/src/components/queryBuilder/Join.vue b/src/components/queryBuilder/Join.vue index 6678aa7..f652f96 100644 --- a/src/components/queryBuilder/Join.vue +++ b/src/components/queryBuilder/Join.vue @@ -22,7 +22,7 @@ import { defineComponent, type PropType } from "vue"; import { mapActions, mapState } from "pinia"; import type { DynamicQueryStructure } from "@/types/dynamicQueries"; -import { useQueryBuilderStore } from "@/stores/admin/queryBuilder"; +import { useQueryBuilderStore } from "@/stores/admin/club/queryBuilder"; import { PlusIcon } from "@heroicons/vue/24/outline"; import JoinTable from "./JoinTable.vue"; diff --git a/src/components/queryBuilder/JoinTable.vue b/src/components/queryBuilder/JoinTable.vue index c4db5b9..cedf9c3 100644 --- a/src/components/queryBuilder/JoinTable.vue +++ b/src/components/queryBuilder/JoinTable.vue @@ -21,7 +21,7 @@ import { defineComponent, type PropType } from "vue"; import { mapActions, mapState } from "pinia"; import type { DynamicQueryStructure } from "@/types/dynamicQueries"; -import { useQueryBuilderStore } from "@/stores/admin/queryBuilder"; +import { useQueryBuilderStore } from "@/stores/admin/club/queryBuilder"; import Table from "./Table.vue"; import { TrashIcon } from "@heroicons/vue/24/outline"; import { joinTableName } from "@/helpers/queryFormatter"; diff --git a/src/components/queryBuilder/NestedCondition.vue b/src/components/queryBuilder/NestedCondition.vue index 111e8e3..d6ecbac 100644 --- a/src/components/queryBuilder/NestedCondition.vue +++ b/src/components/queryBuilder/NestedCondition.vue @@ -20,7 +20,7 @@ import { defineComponent, type PropType } from "vue"; import { mapActions, mapState } from "pinia"; import type { ConditionStructure, WhereType } from "@/types/dynamicQueries"; -import { useQueryBuilderStore } from "@/stores/admin/queryBuilder"; +import { useQueryBuilderStore } from "@/stores/admin/club/queryBuilder"; import { TrashIcon } from "@heroicons/vue/24/outline"; import NestedWhere from "./NestedWhere.vue"; diff --git a/src/components/queryBuilder/NestedWhere.vue b/src/components/queryBuilder/NestedWhere.vue index eef4464..d07d108 100644 --- a/src/components/queryBuilder/NestedWhere.vue +++ b/src/components/queryBuilder/NestedWhere.vue @@ -33,7 +33,7 @@ import { defineComponent, type PropType } from "vue"; import { mapActions, mapState } from "pinia"; import type { ConditionStructure } from "@/types/dynamicQueries"; -import { useQueryBuilderStore } from "@/stores/admin/queryBuilder"; +import { useQueryBuilderStore } from "@/stores/admin/club/queryBuilder"; import NestedCondition from "./NestedCondition.vue"; import Condition from "./Condition.vue"; import { PlusIcon, RectangleStackIcon } from "@heroicons/vue/24/outline"; diff --git a/src/components/queryBuilder/Order.vue b/src/components/queryBuilder/Order.vue index 50fc646..b8a6988 100644 --- a/src/components/queryBuilder/Order.vue +++ b/src/components/queryBuilder/Order.vue @@ -23,7 +23,7 @@ import { defineComponent, type PropType } from "vue"; import { mapActions, mapState } from "pinia"; import type { OrderByStructure } from "@/types/dynamicQueries"; -import { useQueryBuilderStore } from "@/stores/admin/queryBuilder"; +import { useQueryBuilderStore } from "@/stores/admin/club/queryBuilder"; import OrderStructure from "./OrderStructure.vue"; import { PlusIcon } from "@heroicons/vue/24/outline"; diff --git a/src/components/queryBuilder/OrderStructure.vue b/src/components/queryBuilder/OrderStructure.vue index a233767..4667fcb 100644 --- a/src/components/queryBuilder/OrderStructure.vue +++ b/src/components/queryBuilder/OrderStructure.vue @@ -22,7 +22,7 @@ import { defineComponent, type PropType } from "vue"; import { mapActions, mapState } from "pinia"; import type { OrderByStructure, OrderByType } from "@/types/dynamicQueries"; -import { useQueryBuilderStore } from "@/stores/admin/queryBuilder"; +import { useQueryBuilderStore } from "@/stores/admin/club/queryBuilder"; import { TrashIcon } from "@heroicons/vue/24/outline"; diff --git a/src/components/queryBuilder/Table.vue b/src/components/queryBuilder/Table.vue index 72ac140..3ad97ce 100644 --- a/src/components/queryBuilder/Table.vue +++ b/src/components/queryBuilder/Table.vue @@ -12,7 +12,7 @@ import { defineComponent, type PropType } from "vue"; import { mapActions, mapState } from "pinia"; import type { ConditionStructure, DynamicQueryStructure, OrderByStructure } from "@/types/dynamicQueries"; -import { useQueryBuilderStore } from "@/stores/admin/queryBuilder"; +import { useQueryBuilderStore } from "@/stores/admin/club/queryBuilder"; import ColumnSelect from "./ColumnSelect.vue"; import Where from "./Where.vue"; import Order from "./Order.vue"; diff --git a/src/components/queryBuilder/TableSelect.vue b/src/components/queryBuilder/TableSelect.vue index 026e363..d942da4 100644 --- a/src/components/queryBuilder/TableSelect.vue +++ b/src/components/queryBuilder/TableSelect.vue @@ -13,7 +13,7 @@ diff --git a/src/views/admin/club/members/Member.vue b/src/views/admin/club/members/Member.vue index a53b80a..2d98b4d 100644 --- a/src/views/admin/club/members/Member.vue +++ b/src/views/admin/club/members/Member.vue @@ -11,8 +11,9 @@ :items="members" :totalCount="totalCount" :indicateLoading="loading == 'loading'" - @load-data="(offset, count, search) => fetchMembers(offset, count)" - @search="(search) => fetchMembers(0, 25, true)" + :useSearch="true" + @load-data="(offset, count, search) => fetchMembers(offset, count, search)" + @search="(search) => fetchMembers(0, maxEntriesPerPage, search, true)" >