Переглянути джерело

validate the link field in the report's filter (#4479)

version-14
Manas Solanki 7 роки тому
committed by Nabin Hait
джерело
коміт
122e3b4c7b
1 змінених файлів з 4 додано та 1 видалено
  1. +4
    -1
      frappe/public/js/frappe/views/reports/query_report.js

+ 4
- 1
frappe/public/js/frappe/views/reports/query_report.js Переглянути файл

@@ -328,7 +328,10 @@ frappe.views.QueryReport = Class.extend({
me.trigger_refresh();
}
}
df.ignore_link_validation = true;

// This is specifically done true earlier due to some reason. Please update if anyone finds that.
// Done false as the api can be used in the script reports which can break due to invalid links
df.ignore_link_validation = false;
}
});



Завантаження…
Відмінити
Зберегти