Get more flexible API working

This commit is contained in:
Evan Czaplicki
2016-07-20 16:11:52 -07:00
parent 5de13f7561
commit a0ac286ac3
2 changed files with 89 additions and 58 deletions

View File

@@ -25,7 +25,7 @@ type alias Model =
init : List Person -> ( Model, Cmd Msg )
init people =
( Model people (Table.ascending "Year")
( Model people (Table.initialSort "Year")
, Cmd.none
)