mirror of https://gitlab.com/tildes/tildes.git
Browse Source
This adds two new properties to PaginatedResults - .next_page_after_id and .prev_page_before_id. These can be used when creating the links to the before/after pages, instead of needing to access the right element/property "manually". This will be most useful in listings that contain items of multiple types (such as comments and topics), since we won't necessarily know which type the first/last elements are.merge-requests/22/head
Deimos
6 years ago
2 changed files with 19 additions and 3 deletions
Loading…
Reference in new issue