Skip to content

Commit

Permalink
Merge pull request #194 from CDRH/dev
Browse files Browse the repository at this point in the history
3.0.3 release
  • Loading branch information
techgique authored May 12, 2020
2 parents c74856e + da03bd4 commit 049942a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [v3.0.3](https://github.com/CDRH/orchid/compare/v3.0.2...v3.0.3) - pagination bugfix

### Fixed
- bug with search pagination

## [v3.0.2](https://github.com/CDRH/orchid/compare/v3.0.1...v3.0.2) - html_classes for styling and minor fixes

### Added
Expand Down
2 changes: 1 addition & 1 deletion app/views/items/_paginator.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
rel: "nofollow", "aria-label": "First Page" %>
</li>
<%# don't display dots between 1 and 2 %>
<% if pages_prior.min > 2 %>
<% if pages_prior.present? && pages_prior.min > 2 %>
<li class="disabled"><span aria-label="Jump in interval"></span></li>
<% end %>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion lib/orchid/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Orchid
VERSION = '3.0.2'
VERSION = '3.0.3'
end

0 comments on commit 049942a

Please sign in to comment.