Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit903c045

Browse files
authored
fix: retainsearchParams inpaginatedInterceptions during filter updates (#20725)
This pull-request ensures that when we attempt to navigate in-betweenpages or actually attempt to update the filters that they will persistas we expect. This was also causing an issue where on first load (orwhere it lacked `page=1` to be specific) that these would seem to losetheir input.
1 parent3bb7975 commit903c045

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎site/src/api/queries/aiBridge.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export const paginatedInterceptions = (
77
searchParams:URLSearchParams,
88
):UsePaginatedQueryOptions<AIBridgeListInterceptionsResponse,string>=>{
99
return{
10+
searchParams,
1011
queryPayload:()=>searchParams.get(useFilterParamsKey)??"",
1112
queryKey:({ payload, pageNumber})=>{
1213
return["aiBridgeInterceptions",payload,pageNumber]asconst;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp