parent
387d70eaa3
commit
f25b287926
|
@ -117,10 +117,10 @@ submitQuery old ( new, cmd ) =
|
||||||
( new
|
( new
|
||||||
, Cmd.batch
|
, Cmd.batch
|
||||||
[ cmd
|
[ cmd
|
||||||
, Page.Packages.makeRequest
|
, makeRequest
|
||||||
new.elasticsearch
|
new.elasticsearch
|
||||||
(Maybe.withDefault "" newModel.query)
|
(Maybe.withDefault "" newModel.query)
|
||||||
|> Cmd.map PackagesMsg
|
|> Cmd.map msg
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
in
|
in
|
||||||
|
|
|
@ -146,7 +146,6 @@ makeRequest :
|
||||||
makeRequest options query =
|
makeRequest options query =
|
||||||
ElasticSearch.makeRequest
|
ElasticSearch.makeRequest
|
||||||
"option_name"
|
"option_name"
|
||||||
-- TODO: add support for different channels
|
|
||||||
"nixos-unstable-options"
|
"nixos-unstable-options"
|
||||||
decodeResultItemSource
|
decodeResultItemSource
|
||||||
options
|
options
|
||||||
|
|
Loading…
Reference in a new issue