Procházet zdrojové kódy

fix: push fieldtype in invalid conditions map (bp #11119) (#11155)

Co-authored-by: prssanna <prssud@gmail.com>
version-14
mergify[bot] před 5 roky
committed by GitHub
rodič
revize
0ccc21a4c0
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      frappe/public/js/frappe/ui/filters/filter.js

+ 1
- 1
frappe/public/js/frappe/ui/filters/filter.js Zobrazit soubor

@@ -57,7 +57,7 @@ frappe.ui.Filter = class {
this.conditions.push([key, __(`{0}`, [filter.label])]); this.conditions.push([key, __(`{0}`, [filter.label])]);
for (let fieldtype of Object.keys(this.invalid_condition_map)) { for (let fieldtype of Object.keys(this.invalid_condition_map)) {
if (!filter.valid_for_fieldtypes.includes(fieldtype)) { if (!filter.valid_for_fieldtypes.includes(fieldtype)) {
this.invalid_condition_map[fieldtype].push(filter.label);
this.invalid_condition_map[fieldtype].push(key);
} }
} }
} }


Načítá se…
Zrušit
Uložit