Skip to content

## Fix: invitation detail pagination loses guest_id and ignores offset#2628

Merged
monkeyiq merged 1 commit intofilesender:development3from
victoritis:fix/invitation-detail-pagination-loses-guest-id
Mar 17, 2026
Merged

## Fix: invitation detail pagination loses guest_id and ignores offset#2628
monkeyiq merged 1 commit intofilesender:development3from
victoritis:fix/invitation-detail-pagination-loses-guest-id

Conversation

@victoritis
Copy link
Copy Markdown

Problem

  • invitation_detail_page.php always showed the first 2 transfers regardless of the page,
    because it never passed offset or limit to transfers_table.
  • Clicking "next" navigated to a URL without guest_id, causing "guest not found" error.

Changes

  • templates/invitation_detail_page.php: read offset from GET params, slice transfers
    in PHP, pass limit=10 and offset to transfers_table. Shows 10 transfers per page.
  • templates/transfers_table.php: preserve guest_id in pagination base URL so next/prev
    links don't lose the guest context.

@monkeyiq monkeyiq merged commit 064ca6f into filesender:development3 Mar 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants