Projekt

Allgemein

Profil

Aktionen

GX-Bug #70434

geschlossen

When calling the orders of a user from the (new) customer overview page, the orders are filtered by name instead of customer ID | Beim Aufruf der Bestellungen eines Kunden von der (neuen) Kundenübersicht aus, werden diese nach Namen, statt ID gefiltert

Von Daniel Wu vor etwa 1 Jahr hinzugefügt. Vor 9 Monaten aktualisiert.

Status:
Erledigt
Priorität:
Hoch
Zugewiesen an:
Marvin Muxfeld
Kategorie:
Adminbereich
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.8.0.0, Unbestimmt
Release Notes Langtext:

Der Link "Kundenbestellungen", der von der Seite "Kundenübersicht" aufgerufen wird, filtert jetzt nach der Kunden-ID und nicht nach dem Kundennamen.


Beschreibung

Steps to reproduce:

  1. Login as Admin
  2. Go to "Customers" > "Customers"
  3. Create two customers with the same name
  4. Create orders with each customer
  5. Go back to "Customers" > "Customers"
  6. Click the Shopping Cart Symbol of one of the customers

Expected result: Orders are filtered by ID, only orders made by this customer are shown
Actual result: Orders are filtered by name, so orders of both customers are shown

Affected line of code:
https://sources.gambio-server.net/gambio/gxdev/-/blob/develop/src/GambioAdmin/Modules/Customer/ui/assets/Components/overview/data-table/SingleAction.vue#L11

Suggested solution:

<a :href="`${baseUrl}/admin/admin.php?do=OrdersOverview&filter[customer]=%23${user.id}`"

Aktionen

Auch abrufbar als: Atom PDF