Sfoglia il codice sorgente

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

version-14
Manas Solanki 7 anni fa
committed by Nabin Hait
parent
commit
122e3b4c7b
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +4
    -1
      frappe/public/js/frappe/views/reports/query_report.js

+ 4
- 1
frappe/public/js/frappe/views/reports/query_report.js Vedi File

@@ -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;
}
});



Caricamento…
Annulla
Salva