Overwrite sort order each time
This commit is contained in:
@@ -152,7 +152,7 @@
|
|||||||
:identifier identifier
|
:identifier identifier
|
||||||
:amount amount})
|
:amount amount})
|
||||||
(:forecasted-transactions new-client-data))
|
(:forecasted-transactions new-client-data))
|
||||||
:bank-accounts (map (fn [{:keys [number name check-number plaid-account intuit-bank-account include-in-reports type id code numeric-code start-date bank-name routing bank-code new? sort-order visible yodlee-account-id locations yodlee-account use-date-instead-of-post-date]}]
|
:bank-accounts (map-indexed (fn [i {:keys [number name check-number plaid-account intuit-bank-account include-in-reports type id code numeric-code start-date bank-name routing bank-code new? sort-order visible yodlee-account-id locations yodlee-account use-date-instead-of-post-date]}]
|
||||||
{:number number
|
{:number number
|
||||||
:name name
|
:name name
|
||||||
:check-number (when-not (str/blank? check-number)
|
:check-number (when-not (str/blank? check-number)
|
||||||
@@ -171,7 +171,7 @@
|
|||||||
)
|
)
|
||||||
:type type
|
:type type
|
||||||
:id id
|
:id id
|
||||||
:sort-order sort-order
|
:sort-order i
|
||||||
:visible visible
|
:visible visible
|
||||||
:locations (mapv :location locations)
|
:locations (mapv :location locations)
|
||||||
:use-date-instead-of-post-date use-date-instead-of-post-date
|
:use-date-instead-of-post-date use-date-instead-of-post-date
|
||||||
|
|||||||
Reference in New Issue
Block a user