chore: improve docstring
This commit is contained in:
parent
d70be2188e
commit
fc32189a88
1 changed files with 3 additions and 3 deletions
|
|
@ -375,9 +375,9 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat
|
|||
}
|
||||
|
||||
/**
|
||||
* Determine if we should use GET (enables HTTP caching) or POST.
|
||||
* Use GET for empty searches with filters that fit in URL.
|
||||
* Use POST for searches with text or large filters.
|
||||
* Helps determine if we should use GET (enables HTTP caching) or POST.
|
||||
* Use GET for filters that fit in URL.
|
||||
* Use POST for large filters.
|
||||
*/
|
||||
are_filters_large(filters, max_get_size = 2000) {
|
||||
if (!filters) return [false, filters];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue