diff options
author | tv <tv@krebsco.de> | 2017-04-30 15:25:09 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-04-30 15:46:32 +0200 |
commit | f5eb629cc93920cec9b48d13c5600cf64c8e5b85 (patch) | |
tree | 4bd0778e96f6b35c58ad1669634b1f1697f646d9 /test5.hs | |
parent | 5f78ec96b34fe96b933d079776a24f2b23e767a3 (diff) |
test5 initState: limit search to 100
Diffstat (limited to 'test5.hs')
-rw-r--r-- | test5.hs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -83,7 +83,11 @@ data State = State initState :: String -> IO State initState query = do - r_ <- either error id <$> Notmuch.search [query] + r_ <- either error id <$> Notmuch.search + [ "--offset=0" + , "--limit=100" + , query + ] return State { cursor = Z.fromTree $ fromSearchResults query r_ |