From 8dfacdecaca8ff5915b16f3004dcff371ae0e096 Mon Sep 17 00:00:00 2001 From: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com> Date: Wed, 18 Dec 2019 17:04:12 +0530 Subject: [PATCH] chore: Add comment to explain the reason for ignoring validation --- frappe/public/js/frappe/ui/filters/filter_list.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frappe/public/js/frappe/ui/filters/filter_list.js b/frappe/public/js/frappe/ui/filters/filter_list.js index 18ae1d1819..b9a131d4c7 100644 --- a/frappe/public/js/frappe/ui/filters/filter_list.js +++ b/frappe/public/js/frappe/ui/filters/filter_list.js @@ -63,6 +63,8 @@ frappe.ui.FilterGroup = class { } validate_args(doctype, fieldname) { + // Tags attached to the document are maintained seperately in Tag Link + // and is not the part of doctype meta therefore tag fieldname validation is ignored. if (doctype === "Tag Link" && fieldname === "tag") { return true; }