Skip to content

Commit

Permalink
fix: Filter out single & virtual doctypes
Browse files Browse the repository at this point in the history
  • Loading branch information
niraj2477 committed Apr 23, 2024
1 parent 6958e52 commit 83532ad
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ frappe.query_reports["Database Storage Usage By Tables"] = {
fieldname: "doctype_name",
fieldtype: "Link",
options: "DocType",
get_query: function () {
return {
filters: { issingle: ["=", false], is_virtual: ["=", false] },
};
},
},
],
size: "small",
Expand Down

0 comments on commit 83532ad

Please sign in to comment.