mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 14:25:17 -04:00
Text View, View & Filter All Annotations, and More OPDS Love (#4062)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
@@ -12,6 +12,14 @@ namespace API.Extensions;
|
||||
|
||||
public static class HttpExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Adds pagination headers - Use with <see cref="PagedList{T}"/>
|
||||
/// </summary>
|
||||
/// <param name="response"></param>
|
||||
/// <param name="currentPage"></param>
|
||||
/// <param name="itemsPerPage"></param>
|
||||
/// <param name="totalItems"></param>
|
||||
/// <param name="totalPages"></param>
|
||||
public static void AddPaginationHeader(this HttpResponse response, int currentPage,
|
||||
int itemsPerPage, int totalItems, int totalPages)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user