mirror of
https://github.com/enso-org/enso.git
synced 2024-11-30 05:35:09 +03:00
Undo change to autoscoping. (#9881)
Can't use auto-scoping for filter yet.
This commit is contained in:
parent
f77cb0c3ba
commit
4e758e5c9d
@ -121,28 +121,29 @@ make_filter_condition_selector table display=Display.Always =
|
||||
with_text = make_column_ref_by_name_selector table add_text=True
|
||||
|
||||
builder = Vector.new_builder
|
||||
builder.append (Option "Equals" "..Equal" [["to", with_all_types]])
|
||||
builder.append (Option "Not Equals" "..Not_Equal" [["to", with_all_types]])
|
||||
builder.append (Option "Less Than" "..Less" [["than", with_number_text]])
|
||||
builder.append (Option "Less Than Or Equal" "..Equal_Or_Less" [["than", with_number_text]])
|
||||
builder.append (Option "Greater Than" "..Greater" [["than", with_number_text]])
|
||||
builder.append (Option "Greater Than Or Equal" "..Equal_Or_Greater" [["than", with_number_text]])
|
||||
builder.append (Option "Between" "..Between" [["lower", with_number_text], ["upper", with_number_text]])
|
||||
builder.append (Option "Equals Ignore Case" "..Equal_Ignore_Case" [["to", with_text]])
|
||||
builder.append (Option "Starts With" "..Starts_With" [["prefix", with_text]])
|
||||
builder.append (Option "Ends With" "..Ends_With" [["suffix", with_text]])
|
||||
builder.append (Option "Contains" "..Contains" [["substring", with_text]])
|
||||
builder.append (Option "Is Nothing" "..Is_Nothing")
|
||||
builder.append (Option "Is Not Nothing" "..Not_Nothing")
|
||||
builder.append (Option "Is Finite" "..Is_Finite")
|
||||
builder.append (Option "Is Infinite" "..Is_Infinite")
|
||||
builder.append (Option "Is NaN" "..Is_Nan")
|
||||
builder.append (Option "Is True" "..Is_True")
|
||||
builder.append (Option "Is False" "..Is_False")
|
||||
builder.append (Option "Is Empty" "..Is_Empty")
|
||||
builder.append (Option "Is Not Empty" "..Not_Empty")
|
||||
builder.append (Option "Like" "..Like" [["pattern", with_text]])
|
||||
builder.append (Option "Is In" "..Is_In")
|
||||
fqn = Meta.get_qualified_type_name Filter_Condition
|
||||
builder.append (Option "Equals" fqn+".Equal" [["to", with_all_types]])
|
||||
builder.append (Option "Not Equals" fqn+".Not_Equal" [["to", with_all_types]])
|
||||
builder.append (Option "Less Than" fqn+".Less" [["than", with_number_text]])
|
||||
builder.append (Option "Less Than Or Equal" fqn+".Equal_Or_Less" [["than", with_number_text]])
|
||||
builder.append (Option "Greater Than" fqn+".Greater" [["than", with_number_text]])
|
||||
builder.append (Option "Greater Than Or Equal" fqn+".Equal_Or_Greater" [["than", with_number_text]])
|
||||
builder.append (Option "Between" fqn+".Between" [["lower", with_number_text], ["upper", with_number_text]])
|
||||
builder.append (Option "Equals Ignore Case" fqn+".Equal_Ignore_Case" [["to", with_text]])
|
||||
builder.append (Option "Starts With" fqn+".Starts_With" [["prefix", with_text]])
|
||||
builder.append (Option "Ends With" fqn+".Ends_With" [["suffix", with_text]])
|
||||
builder.append (Option "Contains" fqn+".Contains" [["substring", with_text]])
|
||||
builder.append (Option "Is Nothing" fqn+".Is_Nothing")
|
||||
builder.append (Option "Is Not Nothing" fqn+".Not_Nothing")
|
||||
builder.append (Option "Is Finite" fqn+".Is_Finite")
|
||||
builder.append (Option "Is Infinite" fqn+".Is_Infinite")
|
||||
builder.append (Option "Is NaN" fqn+".Is_Nan")
|
||||
builder.append (Option "Is True" fqn+".Is_True")
|
||||
builder.append (Option "Is False" fqn+".Is_False")
|
||||
builder.append (Option "Is Empty" fqn+".Is_Empty")
|
||||
builder.append (Option "Is Not Empty" fqn+".Not_Empty")
|
||||
builder.append (Option "Like" fqn+".Like" [["pattern", with_text]])
|
||||
builder.append (Option "Is In" fqn+".Is_In")
|
||||
Single_Choice builder.to_vector display=display
|
||||
|
||||
## PRIVATE
|
||||
|
Loading…
Reference in New Issue
Block a user