From 89cd04ff80d17fb0f88fc6bd7b1c3b6211328838 Mon Sep 17 00:00:00 2001 From: Esha Noronha Date: Tue, 1 Jul 2025 11:49:28 +0200 Subject: [PATCH] Added updates from PR# 7059 --- 13/umbraco-cms/reference/querying/itagquery.md | 2 +- 14/umbraco-cms/reference/querying/itagquery.md | 2 ++ 15/umbraco-cms/reference/querying/itagquery.md | 2 ++ 16/umbraco-cms/reference/querying/itagquery.md | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/13/umbraco-cms/reference/querying/itagquery.md b/13/umbraco-cms/reference/querying/itagquery.md index 549e6306508..9e3d4700f5f 100644 --- a/13/umbraco-cms/reference/querying/itagquery.md +++ b/13/umbraco-cms/reference/querying/itagquery.md @@ -14,7 +14,7 @@ If you're using it in Views or Partial views you can inject `ITagQuery` using th @inject ITagQuery _tagQuery; ``` -After this, you can use `_tagQuery` to access the `ITagQuery`. +After this, you can use `_tagQuery` to access the `ITagQuery`. If your site supports multiple languages, you must specify the desired language when using `ITagQuery`. diff --git a/14/umbraco-cms/reference/querying/itagquery.md b/14/umbraco-cms/reference/querying/itagquery.md index 44944146f14..71871fca411 100644 --- a/14/umbraco-cms/reference/querying/itagquery.md +++ b/14/umbraco-cms/reference/querying/itagquery.md @@ -16,6 +16,8 @@ If you're using it in Views or Partial views you can inject `ITagQuery` using th After this you can use `_tagQuery` to access the `ITagQuery`. +If your site supports multiple languages, you must specify the desired language when using `ITagQuery`. + If you're using it in controllers, you can inject it into the constructor like so: ```csharp diff --git a/15/umbraco-cms/reference/querying/itagquery.md b/15/umbraco-cms/reference/querying/itagquery.md index 44944146f14..71871fca411 100644 --- a/15/umbraco-cms/reference/querying/itagquery.md +++ b/15/umbraco-cms/reference/querying/itagquery.md @@ -16,6 +16,8 @@ If you're using it in Views or Partial views you can inject `ITagQuery` using th After this you can use `_tagQuery` to access the `ITagQuery`. +If your site supports multiple languages, you must specify the desired language when using `ITagQuery`. + If you're using it in controllers, you can inject it into the constructor like so: ```csharp diff --git a/16/umbraco-cms/reference/querying/itagquery.md b/16/umbraco-cms/reference/querying/itagquery.md index 44944146f14..71871fca411 100644 --- a/16/umbraco-cms/reference/querying/itagquery.md +++ b/16/umbraco-cms/reference/querying/itagquery.md @@ -16,6 +16,8 @@ If you're using it in Views or Partial views you can inject `ITagQuery` using th After this you can use `_tagQuery` to access the `ITagQuery`. +If your site supports multiple languages, you must specify the desired language when using `ITagQuery`. + If you're using it in controllers, you can inject it into the constructor like so: ```csharp