Skip to content

Commit

Permalink
fix: list contact error
Browse files Browse the repository at this point in the history
  • Loading branch information
kurogeek committed Jul 13, 2023
1 parent 626e2d8 commit 02770e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desk/src/pages/desk/contact/ContactList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const selectedContact = ref(null);
const columns = [
{
title: "Name",
colKey: "name",
colKey: "first_name",
colClass: "w-1/3",
},
{
Expand All @@ -74,7 +74,7 @@ const columns = [
const contacts = createListManager({
doctype: "Contact",
fields: ["name", "email_id", "image", "phone"],
fields: ["*"],
auto: true,
});
Expand Down
3 changes: 3 additions & 0 deletions helpdesk/extends/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from .doc import apply_sort
from .qb import get_query

logger = frappe.logger("clientpy", allow_site=True, file_count=50)

Check failure on line 15 in helpdesk/extends/client.py

View workflow job for this annotation

GitHub Actions / Black - Reviewdog

[black-format] reported by reviewdog 🐶 Raw Output: helpdesk/extends/client.py:15:+
@frappe.whitelist()
def get_list(
Expand Down Expand Up @@ -42,6 +43,8 @@ def get_list(
if not fields:
query = apply_custom_select(doctype, query)

logger.error("{}".format(query))

return query.run(as_dict=True, debug=debug)


Expand Down

0 comments on commit 02770e7

Please sign in to comment.