From bb2f45abb07bfc4d72c2a604f1064f260de8c21c Mon Sep 17 00:00:00 2001 From: Michael Harding Date: Mon, 13 Aug 2018 12:59:51 -0400 Subject: [PATCH] SPARK-1549: Move wildcard to top of the list --- src/web/ui/src/Accounts/View.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/ui/src/Accounts/View.fs b/src/web/ui/src/Accounts/View.fs index 2e60e7388..c2870fd1a 100644 --- a/src/web/ui/src/Accounts/View.fs +++ b/src/web/ui/src/Accounts/View.fs @@ -74,7 +74,7 @@ let GetFilteredSymbolArray (model:Model) (remove:string []) = |> Array.distinct) match a.Length with | 0 -> a - | _ -> [ a; [|model.AllValueDisplay|] ] |> Array.concat + | _ -> [ [|model.AllValueDisplay|]; a ] |> Array.concat let limitFilter (positionLimit:AccountSecurityPositionLimitUnit option) (clipLimit:AccountSecurityClipLimitUnit option) allValueDisplay (array:'a []) = match positionLimit, clipLimit with @@ -441,7 +441,7 @@ let productLimits model dispatch = div [ ClassName "columns" ][ h1 [ ClassName "is-size-3 column is-narrow" ][str "Position Limits" ] div [ ClassName "column is-size-7 has-text-grey-mid is-help-text" ] - [str "This limits the net position for a product (i.e. accumulated position over all securities belonging to a product). This can be set for one product, or for all products within a security type by selecting \"All\" for symbol"] + [str "This limits the net position for a product (i.e. accumulated position over all securities belonging to a product). This can be set for one product, or for all products within a security type by selecting \"All\" for symbol. (Note that \"All\" applies the same limits to each symbol, not the combiled position of all symbols)"] ] TableControl.createDataTable (Some headerRow) rws (Button.button "Add" "" "plus-circle" Button.Enabled addRow) br []