### ⚠️ This issue respects the following points: ⚠️
- [X] This is a **bug**, …not a question or a configuration/webserver/proxy issue.
- [X] This issue is **not** already reported on [Github](https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3Abug) OR [Nextcloud Community Forum](https://help.nextcloud.com/) _(I've searched it)_.
- [X] Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Bug description
The favorite folders are listed but when i click on one via the favorite menue the folder contains nothing even something is in there.
The favorite funktion on the ios app is working but not on the web (browser tested with chrome and firefox) and it worked in version 28 but after we upgraded to 29.0.5 we discovered the bug.
<img width="786" alt="Snag_3ac3b3" src="https://github.com/user-attachments/assets/43df81e0-2f36-43c9-9304-cc02d7c9e15b">
### Steps to reproduce
1. click files
2. open favorite folder
3. nothing displayed (even message showed -> folder is empty)
### Expected behavior
the content inside the folder is shown
### Installation method
Community Manual installation with Archive
### Nextcloud Server version
29
### Operating system
Debian/Ubuntu
### PHP engine version
PHP 8.2
### Web server
Nginx
### Database engine version
PostgreSQL
### Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 28 to 29)
### Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
### What user-backends are you using?
- [ ] Default user-backend _(database)_
- [X] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Configuration report
_No response_
### List of activated Apps
```shell
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***"
],
"log_type": "file",
"loglevel": 2,
"maintenance_window_start": "1",
"forwarded_for_headers": [
"HTTP_X_FORWARDED_FOR",
"HTTP_X_FORWARDED"
],
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"logdateformat": "F d, Y H:i:s",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"lost_password_link": "disabled",
"version": "29.0.5.1",
"overwrite.cli.url": "https:\/\/nextcloud.hebk.de\/",
"htaccess.RewriteBase": "\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "DE",
"updatechecker": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"overwriteprotocol": "https",
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"share_folder": "\/Mit mir geteilt",
"maintenance": false,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "sendmail",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "26",
"allow_local_remote_servers": true,
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"dbindex": 0,
"password": "***REMOVED SENSITIVE VALUE***",
"timeout": 0.5
},
"app_install_overwrite": [
"rocketchat_nextcloud"
],
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\Movie",
"OC\\Preview\\PDF",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\HEIC"
]
}
}
```
### Nextcloud Signing status
_No response_
### Nextcloud Logs
_No response_
### Additional info
_No response_