Hello. I have assigned tags to some files. The elasticsearch full-text search index was also created. When I search, the full-text search finds these labels and each individual file corresponding to the label opens normally. However, if you select the option to open all files corresponding to the tag, then the tag folder is incorrectly opened.
Here’s what it means: if you open the labels manually in the files section, they look like https://site.com/apps/files/tags/1?dir=/1
and if you open it from the search results, then a folder (naturally empty) of the form is hidden https://site.com/apps/files/tags?dir=1
. I suppose this may be related to some kind of rewrite rule, but I can’t figure out which one.