Skip to content

feat: preserve catalogue pagination when returning from details#120

Merged
Helias merged 1 commit into
azerothcore:masterfrom
AlsoNotMehh:fix/catalogue-return-pagination
Jun 6, 2026
Merged

feat: preserve catalogue pagination when returning from details#120
Helias merged 1 commit into
azerothcore:masterfrom
AlsoNotMehh:fix/catalogue-return-pagination

Conversation

@AlsoNotMehh

@AlsoNotMehh AlsoNotMehh commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Store the current catalogue page and route in sessionStorage.
  • Restore the saved page when returning from repository details.
  • Use the saved catalogue route for the details back link.
  • Fall back safely to #/home when the stored route is missing or invalid.
  • Add unit coverage for page persistence and return-route handling.

Context

This moves the fix from azerothcore/azerothcore.github.io#183 into the catalogue source repository, as requested by the maintainer.

@Helias Helias changed the title Preserve catalogue pagination when returning from details feat: preserve catalogue pagination when returning from details Jun 6, 2026
@Helias Helias merged commit 75ede1d into azerothcore:master Jun 6, 2026
1 check failed
@Helias

Helias commented Jun 6, 2026

Copy link
Copy Markdown
Member

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