Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite742830

Browse files
author
minjk-bl
committed
Fix bug on Frame condition using isnull or notnull
1 parenta50103d commite742830

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎visualpython/js/m_apps/Frame.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2767,7 +2767,7 @@ define([
27672767
varcondText=$(condTextTag[i]).prop('checked');
27682768
varoperConn=$(operConnTag[i]).val();
27692769
varcondObj={};
2770-
if(col!==''&&oper!==''&&cond!==''){
2770+
if(col!==''&&oper!==''&&(oper=='isnull()'||oper==='notnull()'||cond!=='')){
27712771
condObj={
27722772
oper:oper,
27732773
cond:com_util.convertToStr(cond,condText)
@@ -2808,7 +2808,7 @@ define([
28082808
varcondText=$(condTextTag[i]).prop('checked');
28092809
varoperConn=$(operConnTag[i]).val();
28102810
varcondObj={};
2811-
if(col!==''&&oper!==''&&cond!==''){
2811+
if(col!==''&&oper!==''&&(oper=='isnull()'||oper==='notnull()'||cond!=='')){
28122812
condObj={
28132813
colName:col,
28142814
oper:oper,
@@ -2861,7 +2861,7 @@ define([
28612861
varcondText=$(condTextTag[i]).prop('checked');
28622862
varoperConn=$(operConnTag[i]).val();
28632863
varcondObj={};
2864-
if(col!==''&&oper!==''&&cond!==''){
2864+
if(col!==''&&oper!==''&&(oper=='isnull()'||oper==='notnull()'||cond!=='')){
28652865
condObj={
28662866
colName:col,
28672867
oper:oper,
@@ -2894,7 +2894,7 @@ define([
28942894
varcondText=$(condTextTag[i]).prop('checked');
28952895
varoperConn=$(operConnTag[i]).val();
28962896
varcondObj={};
2897-
if(col!==''&&oper!==''&&cond!==''){
2897+
if(col!==''&&oper!==''&&(oper=='isnull()'||oper==='notnull()'||cond!=='')){
28982898
condObj={
28992899
oper:oper,
29002900
cond:com_util.convertToStr(cond,condText)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp