Skip to content

Commit 83ad549

Browse files
authored
Merge pull request #3325 from nicolasfranck/main
fix typo, probably introduced by v1 code
2 parents 292019e + a0980f4 commit 83ad549

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Changelog
22

33
## v4.1.1
4-
- Updated fontawesome to V6
4+
55
### Added
66
- Added `MORE_INFO` and `LESS_INFO` JS constants (for the Research Outputs feature)
77
### Fixed
88
- Updated the default font on the 'Download page' to be 'Roboto, Arial, Sans-Serif'
9+
- Fixed an issue with API V0 that was causing a 500 Internal Server error
10+
- Updated fontawesome to V6
911

1012

1113
## v4.1.0

app/controllers/api/v0/plans_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def index
101101
max_per_page = Rails.configuration.x.application.api_max_page_size
102102
page = params.fetch('page', 1).to_i
103103
per_page = params.fetch('per_page', max_per_page).to_i
104-
per_page = max_per_page if @per_page > max_per_page
104+
per_page = max_per_page if per_page > max_per_page
105105
@args = { per_page: per_page, page: page }
106106
@plans = refine_query(@plans)
107107
respond_with @plans

0 commit comments

Comments
 (0)