nextcloud / nextcloud/fulltextsearch

FR: Configurable results per page

Open
#742 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement starter issue
Dominant language
PHP
Stars
234
Forks
64
Avg merge
6h 18m
Merged PRs (30d)
10

Description

Current behavior of fulltext search is 10 results per page.
I think this should be configurable or at the very least the default should be increased to 20.

On most modern devices, around 50%+ of the screen is not used i.e. whitespace when limited to 10 results.

Screenshot-20230427-015055.png

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 by locating the full-text search pagination logic and any tests covering the current default of 10 results per page. Determine whether the page size can be configured; done means supporting the requested configuration or increasing the default to 20, with tests confirming the resulting page size.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
search
Issue type
Feature
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.