Incorrect links in the Tags section

Summary of the issue you are facing:
In the “Tags” section, there is a list of existing tags. Normally, clicking a tag should display a list of files and folders associated with it. However, this is currently broken because the generated links are incorrect.

Steps to replicate it (hint: details matter!):

  1. Go to /apps/files/files
  2. Go to Tags link
  3. Click on some tag

Actual URL: /apps/files/files/4?dir=/4 (wrong)
Expected URL: /apps/files/tags/4?dir=/4

Nextcloud Server version: Nextcloud Hub 26 Winter (33.0.0)
Operating system and version: Linux 6.8.0-90-generic x86_64
Web server and version: Apache/2.4.66 (Unix)Reverse proxy and version: nginx/1.24.0
PHP version: PHP 8.3.30
Is this the first time you’ve seen this error? : Yes
When did this problem seem to first start? …
Installation method: Docker AIO
Are you using Cloudflare, mod_security, or similar? : No

Hey @Stanislav_K_Kur welcome to the nextcloud community :waving_hand:

You’ve posted a request in the general section. Unfortunately you have not completed the required support template. So we have no idea which version of Nextcloud you are using. Please edit your post and add as much information as possible so that community supporters have the necessary technical information to help you!

Please be clear if this is a support issue.

Without additional information the community members cannot help you.

Thanks, I have updated my question with the missing data.

@Stanislav_K_Kur thanks for your edit :+1:

added tag aio nc33 and moved to support section, please be patient…

I am on 32.0.6 and it is correct there, for the case that helps.