[Bug]: Activity filter on user/account only shows users on first page of changes

未关闭
#67,010 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
php
领域
backend

调研方向

The bug is in the Activity app's user filter on the Activity page, which only offers users from the currently loaded page of events. Reproduce it on an instance where one user's events are older than the first page, then find where the filter's user list is built and whether it comes from the loaded events or from a server-side query. Done means the filter lists every user with activity, not just those on page one, and the events still paginate correctly.

由索引模型根据 Issue 内容生成。

描述

0. Needs triage 35-feedback bug
⚠️ This issue respects the following points: ⚠️
  • This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
  • This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
  • I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
  • I agree to follow Nextcloud's Code of Conduct.
  • I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.
Bug description

There's now a filter on the "Activity" app. Great feature!

However, the users filter only seems to list users who are in the list of activities shown on the page. For example, as an admin I need to search for all activities by Mallory, but I can't if the most recent activity are by other users.

e.g. this site has dozens of active users, but only 2 are shown:

image
Steps to reproduce
  1. Visit Activity
  2. Try to search for a user whose activity is older than the first page of results
Expected behavior

I should be able to specify any user.

Nextcloud Server version

35

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.4

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 31 to 32)

Are you using the Nextcloud Server Encryption module?

No response

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "neveryoumind.org"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "35.0.3.2",
        "overwrite.cli.url": "https:\/\/neveryoumind.org",
        "default_phone_region": "GB",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "sendmail",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "updater.release.channel": "stable",
        "mysql.utf8mb4": true,
        "trashbin_retention_obligation": "auto, 120",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "skeletondirectory": "",
        "maintenance_window_start": "1",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/var\/www\/neveryoumind.org\/web\/apps\/memories\/bin-ext\/eperl-amd64-glibc",
        "memories.vod.path": "\/var\/www\/neveryoumind.org\/web\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.index.path.blacklist": "@\\\/(\\.|recycle|trash|restricted)\\b@i",
        "enabledPreviewProviders": [
            "OC\\Preview\\Image",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Movie"
        ],
        "preview_max_x": 1024,
        "preview_max_y": 1024,
        "memories.gis_type": 1,
        "memories.index.mode": "0",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "memories.vips.path": "\/var\/www\/neveryoumind.org\/web\/apps\/memories\/bin-ext\/vips-amd64"
    }
}
List of activated Apps
Enabled:
  - activity: 8.0.0
  - app_api: 35.0.0
  - appstore: 2.0.0
  - bruteforcesettings: 8.0.0
  - calendar: 6.7.0
  - circles: 35.0.0
  - cloud_federation_api: 2.0.0
  - comments: 2.0.0
  - contactsinteraction: 2.0.0
  - dav: 2.0.1
  - deck: 1.19.2
  - external: 10.0.0
  - federatedfilesharing: 2.0.0
  - federation: 2.0.0
  - files: 3.0.0
  - files_downloadlimit: 5.3.0
  - files_external: 2.0.0
  - files_lock: 35.0.1
  - files_pdfviewer: 8.0.0
  - files_reminders: 2.0.0
  - files_sharing: 2.0.1
  - files_trashbin: 2.0.0
  - files_versions: 2.0.0
  - flow_notifications: 6.0.0
  - forms: 5.4.4
  - impersonate: 6.0.0
  - logreader: 8.0.0
  - lookup_server_connector: 2.0.0
  - memories: 11.1.4
  - nextcloud_announcements: 7.0.0
  - notifications: 8.0.1
  - notify_push: 1.4.2
  - oauth2: 2.0.0
  - office: 1.1.0
  - password_policy: 7.0.0
  - passwords: 2026.11.20
  - photos: 8.0.0
  - polls: 9.3.0
  - previewgenerator: 5.15.0
  - privacy: 7.0.0
  - profile: 2.0.0
  - provisioning_api: 2.0.0
  - related_resources: 6.0.0
  - richdocuments: 12.0.2
  - serverinfo: 7.0.0
  - settings: 2.0.0
  - sharebymail: 2.0.0
  - sharing: 1.0.5
  - spreed: 25.0.8
  - survey_client: 7.0.0
  - systemtags: 2.0.0
  - tables: 2.5.0
  - text: 9.0.2
  - theming: 3.0.0
  - theming_customcss: 1.22.0
  - twofactor_backupcodes: 2.0.0
  - twofactor_totp: 17.1.0
  - updatenotification: 2.0.0
  - user_status: 2.0.0
  - viewer: 8.0.0
  - weather_status: 2.0.0
  - webhook_listeners: 2.0.0
  - workflowengine: 3.0.0
Disabled:
  - admin_audit: 2.0.0
  - dashboard: 8.0.0 (installed 7.0.0)
  - encryption: 3.0.1
  - files_activitymonitor: 1.1.1 (installed 1.1.1)
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - firstrunwizard: 8.0.0 (installed 3.0.0)
  - metadata: 0.24.0 (installed 0.24.0)
  - ransomware_protection: 1.14.0 (installed 1.14.0)
  - recommendations: 8.0.0 (installed 1.3.0)
  - support: 7.0.0 (installed 1.0.0)
  - suspicious_login: 13.0.0
  - testing: 1.23.0
  - thesearchpage: 2.4.8 (installed 2.4.8)
  - twofactor_nextcloud_notification: 9.0.0
  - user_ldap: 2.0.0
Nextcloud Signing status
No errors have been found.
Nextcloud Logs

Additional info

No response

主要语言
PHP
星标
37.6k
派生
5.4k
平均合并
1 天 13 小时
30 天内合并 PR
623

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/server 的其他 Issue

查看 nextcloud/server 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。