Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #979 from atmire/680-recent-submision-pagination-r…
…eload 680 Fix change event reference for recent submission
- Loading branch information
Showing
2 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/app/shared/pagination/paginationChangeEvent.interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import {PaginationComponentOptions} from './pagination-component-options.model'; | ||
import {SortOptions} from '../../core/cache/models/sort-options.model'; | ||
|
||
|
||
/** | ||
* The pagination event that contains updated pagination properties | ||
* for a given view | ||
*/ | ||
export interface PaginationChangeEvent { | ||
/** | ||
* The pagination component object that contains id, current page, max size, page size options, and page size | ||
*/ | ||
pagination: PaginationComponentOptions; | ||
|
||
/** | ||
* The sort options object that contains which field to sort by and the sorting direction | ||
*/ | ||
sort: SortOptions; | ||
} |