HOTFIX: use clientFk to filter data #1258

Merged
jsegarra merged 1 commits from hotfix_customerConsumption_clientFk into master 2025-01-21 11:45:11 +00:00
Member
No description provided.
jsegarra added 1 commit 2025-01-21 11:16:44 +00:00
gitea/salix-front/pipeline/pr-master This commit looks good Details
61e410aa1d
fix: use clientFk to filter data
jsegarra requested review from alexm 2025-01-21 11:16:48 +00:00
jsegarra changed title from fix: use clientFk to filter data to HOTFIX: use clientFk to filter data 2025-01-21 11:16:54 +00:00
alexm requested changes 2025-01-21 11:25:05 +00:00
Dismissed
@ -154,2 +154,3 @@
url="Clients/consumption"
:order="['itemTypeFk', 'itemName', 'itemSize', 'description']"
:order="['itemTypeFk', 'itemName', 'itemSize', 'description']"
:filter="{ where: { clientFk: route.params.id } }"
Member

Si se quiere mantener ese filtro siempre, hay que usar user-filter

Si se quiere mantener ese filtro siempre, hay que usar user-filter
Author
Member

El problema de usar user-filter es que si cambio de cliente no me cambia la query

El problema de usar user-filter es que si cambio de cliente no me cambia la query
Author
Member

image

![image](/attachments/fd956580-3486-4444-8703-5c8bebf5873c)
173 KiB
jsegarra requested review from alexm 2025-01-21 11:33:39 +00:00
alexm approved these changes 2025-01-21 11:39:45 +00:00
jsegarra merged commit 4e0967a26c into master 2025-01-21 11:45:11 +00:00
jsegarra deleted branch hotfix_customerConsumption_clientFk 2025-01-21 11:45:11 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix-front#1258
No description provided.