Skip to content

Commit f1363ed

Browse files
authored
Merge pull request #363 from kortirso/issue_361
IS-361 fixed pagy overflow bug
2 parents 7b880c2 + 1e09d1c commit f1363ed

3 files changed

Lines changed: 9 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
### Modified
99
- migrate primary and foreign keys from ID to UUID
1010

11+
### Fixed
12+
- pagy overflow bug
13+
1114
## [2.0.2] - 2024-12-06
1215
### Added
1316
- open graph tags

app/views/controllers/web/welcome/index.html.erb

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,6 @@
9494
</div>
9595
<div class="flex-1 bg-blue py-8">
9696
<div class="bg-white px-10 py-12 sm:py-32 max-w-xl">
97-
<p>
98-
<iframe
99-
src="https://ghbtns.com/github-btn.html?user=kortirso&repo=pullmetry&type=star&count=true&size=large"
100-
frameborder="0"
101-
scrolling="0"
102-
width="170"
103-
height="30"
104-
title="GitHub"
105-
class="mb-4"
106-
></iframe>
107-
</p>
10897
<p class="text-lg leading-8">PullKeeper is 100% open source. You can check source code of application at <a href="https://github.com/kortirso/pullmetry" target="_blank" rel="noopener noreferrer" class="simple-link">Github repository</a>.</p>
10998
<p class="text-lg leading-8">If you have any suggestions then you can create issue at <a href="https://github.com/kortirso/pullmetry/issues" target="_blank" rel="noopener noreferrer" class="simple-link">Github issues</a>.</p>
11099
<p class="text-lg leading-8">You can fork repository, run it locally or even run it on your own production server.</p>
@@ -243,7 +232,7 @@
243232
</div>
244233
<div class="w-full max-w-6xl flex justify-between items-center">
245234
<div>
246-
<span class="copyright">&copy;</span> 2024 PullKeeper, v2.0.2
235+
<span class="copyright">&copy;</span> Since 2023, PullKeeper, v2.0.3
247236
</div>
248237
<div class="flex">
249238
<span class="mr-2 text-sm">Sponsored by</span>

config/initializers/pagy.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# frozen_string_literal: true
2+
3+
require 'pagy/extras/overflow'
4+
5+
Pagy::DEFAULT[:overflow] = :last_page

0 commit comments

Comments
 (0)