From f2be52dbd1b0acb9b083c87e3b5c9b8192cfae07 Mon Sep 17 00:00:00 2001 From: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com> Date: Wed, 21 Oct 2026 06:31:03 +0000 Subject: [PATCH] fixup! directory: send the number of matches left and the page size in search responses --- tests/Bots/DirectoryTests.hs | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/Bots/DirectoryTests.hs b/tests/Bots/DirectoryTests.hs index f2db475d09..1f317af2fb 100644 --- a/tests/Bots/DirectoryTests.hs +++ b/tests/Bots/DirectoryTests.hs @@ -787,7 +787,6 @@ searchDirectory u dsLink text cursor_ = (\(es, c, _, _) -> (es, c)) <$> searchDi searchNames :: HasCallStack => TestCC -> String -> String -> Maybe J.Value -> IO ([Text], Maybe J.Value) searchNames u dsLink text cursor_ = first (map entryName) <$> searchDirectory u dsLink text cursor_ --- the page's names and cursor, then its moreCount and pageSize searchNamesCounts :: TestCC -> String -> String -> Maybe J.Value -> IO ([Text], Maybe J.Value, Int, Int) searchNamesCounts u dsLink text cursor_ = (\(es, c, m, s) -> (map entryName es, c, m, s)) <$> searchDirectoryCounts u dsLink text cursor_