Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(aio): keep created-by filter in prompts list url (#98970)

Juraj Majerik3b7cc7cd46a9
diff --git a/products/ai_observability/frontend/prompts/llmPromptsLogic.ts b/products/ai_observability/frontend/prompts/llmPromptsLogic.ts
index 8186aa34c7b1..0ef2df127e5c 100644
--- a/products/ai_observability/frontend/prompts/llmPromptsLogic.ts
+++ b/products/ai_observability/frontend/prompts/llmPromptsLogic.ts
@@ -245,7 +245,10 @@ export const llmPromptsLogic = kea<llmPromptsLogicType>([
trackedActionToUrl(({ values }) => {
const changeUrl = (): [string, Record<string, any>, Record<string, any>, { replace: boolean }] | void => {
- const nextValues = cleanPagedSearchOrderParams(values.filters)
+ const nextValues = {
+ ...cleanPagedSearchOrderParams(values.filters),
+ created_by_id: values.filters.created_by_id,
+ }
const urlValues = cleanFilters(router.values.searchParams)
if (!objectsEqual(values.filters, urlValues)) {