Sfoglia il codice sorgente

Merge branch 'hotfix'

version-14
mbauskar 8 anni fa
parent
commit
b72dded0f7
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +1
    -1
      frappe/__init__.py
  2. +2
    -2
      frappe/public/js/frappe/ui/filters/filters.js

+ 1
- 1
frappe/__init__.py Vedi File

@@ -14,7 +14,7 @@ import os, sys, importlib, inspect, json
from .exceptions import *
from .utils.jinja import get_jenv, get_template, render_template

__version__ = '8.2.2'
__version__ = '8.2.3'
__title__ = "Frappe Framework"

local = Local()


+ 2
- 2
frappe/public/js/frappe/ui/filters/filters.js Vedi File

@@ -216,7 +216,7 @@ frappe.ui.Filter = Class.extend({
: __("use % as wildcard"))+'</div>');
} else {
//if condition selected after refresh
me.set_field(me.field.df.parent, me.field.df.fieldname, me.field.df.fieldtype, condition);
me.set_field(me.field.df.parent, me.field.df.fieldname, null, condition);
}
});

@@ -345,7 +345,7 @@ frappe.ui.Filter = Class.extend({
} else if(['Text','Small Text','Text Editor','Code','Tag','Comments',
'Dynamic Link','Read Only','Assign'].indexOf(df.fieldtype)!=-1) {
df.fieldtype = 'Data';
} else if(df.fieldtype=='Link' && this.wrapper.find('.condition').val()!="=") {
} else if(df.fieldtype=='Link' && ['=', '!='].indexOf(this.wrapper.find('.condition').val())==-1) {
df.fieldtype = 'Data';
}
if(df.fieldtype==="Data" && (df.options || "").toLowerCase()==="email") {


Caricamento…
Annulla
Salva