]> source.dussan.org Git - nextcloud-server.git/commit
feat: specify media type via url path: systemtags-current/$mediaType
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Thu, 4 May 2023 09:57:07 +0000 (11:57 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Tue, 9 May 2023 21:51:51 +0000 (23:51 +0200)
commit2489a2d63a7b261e3362acd69af809fb242ad87c
treea0d273db16f563f8bd79ec5dcc0784aad28ec063
parent6bff6a56672f08ebe1255bfad73abebd91b25428
feat: specify media type via url path: systemtags-current/$mediaType

- only the media part of the mime type can be search, but not the full
  mime type. It can be added, should it become necessary.
- thus fixes previously hardcoded selector for image/ types
- also fixes a return type hint
- adds a return type hint

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
apps/dav/lib/SystemTag/SystemTagsInUseCollection.php
lib/private/Files/Cache/QuerySearchHelper.php
lib/private/Files/Node/Folder.php