diff --git a/frontend/src/components/Members.vue b/frontend/src/components/Members.vue index a6cc8d9b..22dc2074 100644 --- a/frontend/src/components/Members.vue +++ b/frontend/src/components/Members.vue @@ -18,7 +18,7 @@ /> @@ -72,7 +72,7 @@
@@ -83,7 +83,7 @@ import { createResource, Avatar, Button, FormControl } from 'frappe-ui' import { useRouter } from 'vue-router' import { ref, watch, reactive } from 'vue' -import { RefreshCw, Plus } from "lucide-vue-next" +import { RefreshCw, Plus } from 'lucide-vue-next' const router = useRouter() const show = defineModel('show') diff --git a/lms/lms/api.py b/lms/lms/api.py index 8b235558..df2272cd 100644 --- a/lms/lms/api.py +++ b/lms/lms/api.py @@ -566,12 +566,12 @@ def get_categories(doctype, filters): @frappe.whitelist() def get_members(start=0, search=""): - """ Get members for the given search term and start index. - Args: start (int): Start index for the query. - search (str): Search term to filter the results. - Returns: List of members. + """Get members for the given search term and start index. + Args: start (int): Start index for the query. + search (str): Search term to filter the results. + Returns: List of members. """ - + filters = {"enabled": 1, "name": ["not in", ["Administrator", "Guest"]]} if search: