Skip to content
Permalink
Browse files

make request to the right search page, fixes #4

  • Loading branch information
garbas committed May 8, 2020
1 parent 387d70e commit c8bebc28470fa8911c48a90ece21b3daf97b3741
Showing with 2 additions and 3 deletions.
  1. +2 −2 src/Main.elm
  2. +0 −1 src/Page/Options.elm
@@ -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

0 comments on commit c8bebc2

Please sign in to comment.
You can’t perform that action at this time.