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
1 changed files with 2 additions and 1 deletions

View File

@ -152,7 +152,8 @@ const updateDateParams = (value, params) => {
v-if="campaignList"
data-key="CustomerConsumption"
url="Clients/consumption"
:order="['itemTypeFk', 'itemName', 'itemSize', 'description']"
:order="['itemTypeFk', 'itemName', 'itemSize', 'description']"
:filter="{ where: { clientFk: route.params.id } }"
Review

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

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

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
:columns="columns"
search-url="consumption"
:user-params="userParams"