Projekt

Allgemein

Profil

Aktionen

GX-Bug #69716

geschlossen

API v3 /image-lists endpoint calculates wrong pagination metadata

Von Tobias Schindler vor etwa 2 Jahren hinzugefügt. Vor etwa 2 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Mirko Janssen
Kategorie:
REST-API
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Install shop => /v3/image-lists => Check result, got 7 items back, but totalItems is 1
Betroffene Versionen:
4.5.2.2
Release Notes Langtext:

Es wurde ein Fehler behoben der falsche Meta-Daten bei den ImageLists in der v3 ausgegeben hat


Beschreibung

The image-lists endpoint (https://developers.gambio.de/docs/4.5.2.2/rest-v3/#tag/ImageLists) calculates the wrong pagination data.

When using this endpoint without any query params after a new shop installation, the resulting data contains 7 items. But the _meta.totalItems value is 1. This also leads to a wrong calculation of the _meta.totalPages value.


Aktionen

Auch abrufbar als: Atom PDF