nextcloud / nextcloud/calendar

Search: limited to 25 results, "Load more results" resets filter

Open
#7,014 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

Steps to reproduce
  1. open search, set a custom date range (from...to) filter, press search
  2. result list is correct, but displays only 5 results
  3. click "Load more results"
  4. the date selection will be reset to unfiltered
  5. can only "Load more results" for 5 times, after 25 results it's over and nothing more is loaded
Expected behavior

a) The date filter should remain active after more results are loaded
b) The result list should allow to load all applying entries, not only up to 25 results

Actual behavior

a) selected date range is reset after clicking "Load more results"
b) a maximum of 25 results can be loaded

Calendar app version

5.3.0

CalDAV-clients used

Davx5

Browser

Firefox & Brave, latest versions

Client operating system

Windows 10

Server operating system

Debian Linux

Web server

Apache

Database engine version

MariaDB

PHP engine version

PHP 8.2

Nextcloud version

31.0.2

Updated from an older installed version or fresh install

None

List of activated apps
Enabled:
  - activity: 4.0.0
  - app_api: 5.0.2
  - bookmarks: 15.1.0
  - bruteforcesettings: 4.0.0
  - calendar: 5.3.0
  - circles: 31.0.0
  - cloud_federation_api: 1.14.0
  - comments: 1.21.0
  - contacts: 7.1.1
  - contactsinteraction: 1.12.0
  - dashboard: 7.11.0
  - dav: 1.33.0
  - event_update_notification: 2.6.1
  - federatedfilesharing: 1.21.0
  - files: 2.3.1
  - files_external: 1.23.0
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - mail: 5.1.1
  - nextcloud_announcements: 3.0.0
  - notes: 4.12.0
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - openotp_auth: 1.31.2
  - otpmanager: 0.5.4
  - passman: 2.4.12
  - password_policy: 3.0.0
  - photos: 4.0.0-dev.1
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - recommendations: 4.0.0
  - related_resources: 2.0.0
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - support: 3.0.0
  - survey_client: 3.0.0
  - tasks: 0.16.1
  - text: 5.0.0
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - twofactor_totp: 13.0.0-dev.0
  - updatenotification: 1.21.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - workflowengine: 2.13.0
Disabled:
  - admin_audit: 1.21.0
  - encryption: 2.19.0 (installed 2.12.0)
  - federation: 1.21.0 (installed 1.15.0)
  - files_downloadlimit: 4.0.0 (installed 4.0.0)
  - files_sharing: 1.23.1 (installed 1.23.1)
  - firstrunwizard: 4.0.0 (installed 2.13.0)
  - suspicious_login: 9.0.1
  - systemtags: 1.21.1 (installed 1.14.0)
  - twofactor_nextcloud_notification: 5.0.0
  - user_ldap: 1.22.0
  - user_status: 1.11.0 (installed 1.5.0)
Nextcloud configuration
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nxt.inner-smile.com",
            "localhost",
            "127.0.0.1"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.2.1",
        "overwrite.cli.url": "https:\/\/nxt.inner-smile.com",
        "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_smtpsecure": "tls",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "maintenance": false,
        "mysql.utf8mb4": true,
        "theme": "",
        "loglevel": 0,
        "app_install_overwrite": [
            "files_reader",
            "ocsms",
            "otpmanager"
        ]
    }
}
Web server error log

Log file

Browser log

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Calendar app's search entry point and reproduce the issue with a custom date range. Trace the "Load more results" action to see why the date filter is lost and why results stop at 25; done means the filter persists and all matching entries can be loaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
backend, frontend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.