pagy-cursor icon indicating copy to clipboard operation
pagy-cursor copied to clipboard

Cursor pagination with pagy for Ruby On Rails

Results 9 pagy-cursor issues
Sort by recently updated
recently updated
newest added

This PR mixed a few of things: - Loosen requirement to support Pagy 8 - Fix typo - Slightly restructure file organization - bump version - Add Ruby 3.3 to...

Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.14.3 to 1.16.3. Release notes Sourced from nokogiri's releases. v1.16.3 / 2024-03-15 Dependencies [CRuby] Vendored libxml2 is updated to v2.12.6 from v2.12.5. (@​flavorjones) Changed [CRuby] XML::Reader sets...

dependencies

Bumps [rack](https://github.com/rack/rack) from 2.2.6.4 to 2.2.8.1. Release notes Sourced from rack's releases. v2.2.8.1 What's Changed Fixed ReDoS in Accept header parsing [CVE-2024-26146] Fixed ReDoS in Content Type header parsing [CVE-2024-25126]...

dependencies

hi @Uysim by cursor pagination i guess you don't mean https://www.postgresql.org/docs/current/sql-declare.html real db cursors but something like keyset pagination, where the last seen value is used to get the next...

enhancement

The [Items Extra](https://ddnexus.github.io/pagy/docs/extras/items/) allows you to customize the `:items` params and the max page size. With `pagy-cursor` installed and configured, the Items Extra config is no longer used. Most other...

Hi, With a big database, I am using multiple column ordered indexes in order to return item in order. but the limit/offset is not the best thing to do. I...

feature request

When I try using pagy-cursor I receive exception. Here's how I use it: ```ruby p = pagy_cursor(User.all) pagy_nav(p[0]) ``` Here's what I get: ``` > pagy_nav(p[0]) NoMethodError: undefined method `-'...

@yunanhelmy had optimize this with PR #19. But from result issue #28 which lead us to revert back to ActiveRecord::Relation. Even so, I still think some developer need to optimize...

enhancement

# What is changing? Remove `pagy < 7` stipulation from Gemfile and re-test # Why is this change needed? To support [Pagy 8](https://github.com/ddnexus/pagy/releases/tag/8.0.0)