Skip to content

Commit

Permalink
Add defaultRowsPerPage option to InstanceSelection (#272)
Browse files Browse the repository at this point in the history
* add defaultRowsPerPage option to InstanceSelection

* remove pagination class
  • Loading branch information
Magnusrm authored Jul 13, 2023
1 parent b7d4de9 commit ef4d611
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Altinn.App.Core/Models/InstanceSelection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ public class InstanceSelection
[JsonProperty(PropertyName = "rowsPerPageOptions")]
public List<int>? RowsPerPageOptions { get; set; }

/// <summary>
/// The default amount of rows per page to show for pagination
/// </summary>
[JsonProperty(PropertyName = "defaultRowsPerPage")]
public int? DefaultRowsPerPage { get; set; }

/// <summary>
/// The direction of sorting the list of instances, asc or desc
/// </summary>
Expand Down

0 comments on commit ef4d611

Please sign in to comment.