#6943 - Customer module find salesPersons out of first get #711
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#711
Loading…
Reference in New Issue
No description provided.
Delete Branch "6943_fix_customer_module"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New commits pushed, approval review dismissed automatically according to repository settings
@ -17,2 +17,4 @@
const contactChannels = ref([]);
const title = ref();
const handleSalesModelValue = (val) => {
if (salesPersonFilter.value.and.length == 0) salesPersonFilter.value.and.push = [];
No hay que dar por hecho una estructura del where, puede dar problemas
Lo revisamos porque ni con mergeWhere, ni mergeFilter, ni mergeFields
El problema es que o bien la variable val está vacia o no recoge el ultimo cambio del VnSelect filter
En otor momento revisamos la solución
exprBuilder implementado
@ -179,6 +183,8 @@ async function fetchFilter(val) {
}, {});
} else defaultWhere = { [key]: getVal(val) };
const where = { ...(val ? defaultWhere : {}), ...$props.where };
if (typeof $props.exprBuilder === 'function')
if (typeof $props.exprBuilder)
Mi no entender, y el editor tampoco
#711 (comment)