From fca4008d23d9fef5cd1f0bdac4599e27f46f0290 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Mon, 16 Sep 2024 17:53:57 -0400 Subject: [PATCH] Update query string name (#33621) --- aspnetcore/blazor/tutorials/movie-database-app/part-6.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/blazor/tutorials/movie-database-app/part-6.md b/aspnetcore/blazor/tutorials/movie-database-app/part-6.md index 684df2efc1..bdb4ada894 100644 --- a/aspnetcore/blazor/tutorials/movie-database-app/part-6.md +++ b/aspnetcore/blazor/tutorials/movie-database-app/part-6.md @@ -68,11 +68,11 @@ Run the app and navigate to the movies `Index` page at `/movies`. The movies in ![Mad Max movies before filtering in the movies Index page](~/blazor/tutorials/movie-database-app/part-6/_static/before-filtering.png) -Append a query string to the URL in the address bar: `?titleSearch=road+warrior`. For example, the full URL appears as `https://localhost:7073/movies?titleSearch=road+warrior`, assuming the port number is `7073`. The filtered movie is displayed: +Append a query string to the URL in the address bar: `?titleFilter=road+warrior`. For example, the full URL appears as `https://localhost:7073/movies?titleFilter=road+warrior`, assuming the port number is `7073`. The filtered movie is displayed: !['The Road Warrior' Mad Max movie filtered using a query string in the browser's address bar](~/blazor/tutorials/movie-database-app/part-6/_static/query-string-filter-result.png) -Next, give users a way to provide the `titleSearch` filter string via the component's UI. Add the following HTML under the H1 heading (`

Index

`). The following HTML reloads the page with the contents of the textbox as a query string value: +Next, give users a way to provide the `titleFilter` filter string via the component's UI. Add the following HTML under the H1 heading (`

Index

`). The following HTML reloads the page with the contents of the textbox as a query string value: ```html