Skip to content

Commit

Permalink
UIPFU-49 - Apply Prev/Next Pagination (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
Terala-Priyanka authored Aug 9, 2024
1 parent 294c2d8 commit ec4c39b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

* Fix Select User Modal with User Assignment Status Filters pagination issue. Refs UIPFU-87.
* Fix select all toggle button issue. Refs UIPFU-89.
* Apply Prev/Next Pagination. Refs UIPFU-49.

## [7.1.0](https://github.com/folio-org/ui-plugin-find-user/tree/v7.1.0) (2024-03-20)
[Full Changelog](https://github.com/folio-org/ui-plugin-find-user/compare/v7.0.0...v7.1.0)
Expand Down
1 change: 1 addition & 0 deletions src/UserSearchContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class UserSearchContainer extends React.Component {
tenant: '!{tenantId}',
records: 'users',
resultOffset: '%{resultOffset}',
resultDensity: 'sparse',
perRequest: 100,
path: 'users',
GET: {
Expand Down
4 changes: 2 additions & 2 deletions src/UserSearchView.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
Button,
PaneMenu,
Checkbox,
MCLPagingTypes,
} from '@folio/stripes/components';
import {
SearchAndSortQuery,
Expand Down Expand Up @@ -387,9 +388,8 @@ class UserSearchView extends React.Component {
sortDirection={sortOrder.startsWith('-') ? 'descending' : 'ascending'}
isEmptyMessage={resultsStatusMessage}
autosize
virtualize
pageAmount={100}
pagingType="click"
pagingType={MCLPagingTypes.PREV_NEXT}
/>

</Pane>
Expand Down

0 comments on commit ec4c39b

Please sign in to comment.