Skip to content

Commit

Permalink
Merge pull request #370 from linzjs/paging-fix
Browse files Browse the repository at this point in the history
Paging fix
  • Loading branch information
allanchau committed Apr 16, 2024
2 parents 9eeaa14 + 234fde8 commit 725a40e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Unreleased

## v1.0.0-19.0.1 - 2024-04-17

### Fixed

- Fixed the paging number.

## v1.0.0-19.0.0 - 2024-02-21

### Changed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linz",
"version": "1.0.0-19.0.0",
"version": "1.0.0-19.0.1",
"description": "Node.js web application framework",
"license": "MIT",
"main": "linz.js",
Expand Down
2 changes: 1 addition & 1 deletion views/modelIndex/paging.pug
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if pagination
.records
span Showing
select.pagination.form-control(data-linz-csrf-required, disabled)
each page, i in new Array(pages)
each _, i in new Array(pages)
if page === i+1
option(value=i+1, selected)= i+1
else
Expand Down

0 comments on commit 725a40e

Please sign in to comment.