Skip to content

fix: Corrected the cgilimit parameter in pagination links to use $limit instead of $cgilimit.#2540

Closed
victoritis wants to merge 1 commit intofilesender:development3from
victoritis:fix-pagination-back-button
Closed

fix: Corrected the cgilimit parameter in pagination links to use $limit instead of $cgilimit.#2540
victoritis wants to merge 1 commit intofilesender:development3from
victoritis:fix-pagination-back-button

Conversation

@victoritis
Copy link
Copy Markdown

Bug Description

The single left arrow (previous page) was behaving like the double left arrow (first page), always returning to the beginning instead of going back one page.

Root Cause

The pagination links were using literal strings cgioffset and cgilimit instead of the variables $cgioffset and $cgilimit in the href URLs.

Solution

Changed lines 306-307 in templates/transfers_table.php to use the correct variables, matching the pattern already used in the "next page" button (line 302).

Files Changed

  • templates/transfers_table.php (2 lines)

@monkeyiq
Copy link
Copy Markdown
Contributor

monkeyiq commented Feb 7, 2026

The issue here is that the key $cgilimit is also used as the value for $cgilimit setting it twice. I have an update for this in #2544 and will port to development3.

@monkeyiq monkeyiq closed this Feb 7, 2026
@monkeyiq
Copy link
Copy Markdown
Contributor

monkeyiq commented Feb 7, 2026

Thank you for the detailed information and PR. I thought it quicker to make and merge the alternate which should also be in development3 now.

@victoritis
Copy link
Copy Markdown
Author

Thank you.

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