Project

General

Profile

Actions

Feature proposal #7503

closed

Improve paging behavior

Added by krileon about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
25 March 2019
Due date:
% Done:

100%

Estimated time:

Description

Currently paging is doing a count query before the select query, which isn't really necessary. We simply need to do the select query and add +1 to the LIMIT. So for example we want 15 entries, grab 16. If there are 16 we know there's another page. This completely eliminates an unnecessary query.

Actions

Also available in: Atom PDF