Skip to content

Conversation

albertpl
Copy link
Member

Description

Sortering på backend fungerer.

Man kan nå sortere visningen på:

  • Popularity
  • Newest
  • Metacritic
  • Name

Dette sendes inn i queryen, eksempel:

query {
  games(sort: POPULARITY, first: 5) {
    totalCount
    pageInfo {
      hasNextPage
      endCursor
    }
    edges {
      node {
        id
        name
        released
        metacritic
        added
      }
    }
  }
}

Related Issue

Closes #63

Changes made

  • Bug fix
  • Ny funksjonalitet
  • Refactor
  • Dokumentasjon
  • Testing

Checklist

  • Testet lokalt
  • Dokumentert endringer
  • Sjekket for feilmeldinger

@albertpl albertpl requested a review from a team as a code owner October 16, 2026 11:41
@johabort johabort merged commit 89f8894 into main Oct 16, 2026
1 check passed
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Sorting
2 participants