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