# Bug OP-7815 - Pagination in search results

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-7815

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 11.2.4 |
| Observed in versions | 11.0.0 |
| Sprint | 11.2.4 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 11.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Your OpenProject Version: Cloud Edition

Operating System / Browser / OpenProject language: MacOS / Safari / FR

### **Logs**

N/A

### **Steps to reproduce:**

1.  Use the search bar
2.  URL is like <https://xxx.openproject.com/projects/webapps/work\_packages?query\_id=158>

<figure class="image image_resized" style="width:50%;"><img src="/api/v3/attachments/19515/content"></figure>

### **Actual Behavior**

I've 59 results, but at the bottom of the list, the counter displays 60.

Pagination is on 2 pages, expected on 50 results par pages. In my case, I've 14 results on the first page and 44 on the second one.

### **Expected Behavior**

Correct number of results, on two pages by 50 lines.
