You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@j4587698 Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem.
Is there an existing issue for this?
Describe the bug
目前的Freesql扩展使用搜索时会报sql错误。
检查发现在
ToDynamicFilter
方法中仅判断了if (actions.Filters != null)
而
SearchFilterAction
中GetFilterConditions
并没有给Filters
赋值就会导致产生一个key和value都为null的条件,freesql转为sql时就会产生一个(())的条件,sql异常
Expected Behavior
搜索栏输入任意内容
此时searches里有一条数据
这时候SearchFilterAction中由于没有加Filter,所以actions.Filters是null
这时候item里内容都为null,所以会产生一个(())的条件
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: