Skip to content

[BUG] browsing state won't save after going to another page or going to previous page #15

@dtg-lucifer

Description

@dtg-lucifer

Bug Description

After going to the previous page from viewing the details of any event in the all events page, the state whether the user was on which page wouldn't be saved.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Go to the all events page
  2. Go the 2nd page of the events
  3. Go to details of any event
  4. Get back to the previous page
  5. You will se you will be redirected to the 1st page again.

Expected Behavior

After going to the previous page the state should've been stored in the url so that page will be persisted.

Actual Behavior

No matter what page the user was on, it takes the user to the first page again.

Environment

  • OS: Ubuntu 24.04
  • Browser: Mozilla Firefox 143.0.4
  • Go Version: go version go1.25.0 linux/amd64
  • Database Version: PostgreSQL 15
  • Everato branch: feature/events-route

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions