fix: refs #7831 add locale & hide table params #660
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#660
Loading…
Reference in New Issue
No description provided.
Delete Branch "7831-hotfix-addLocale"
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?
@ -203,3 +203,2 @@
for (const [key, value] of Object.entries(params)) {
if (typeof value == 'object')
params[key] = Object.values(value)[0].replaceAll('%', '');
if (typeof value === 'object' && value !== null) {
null es tipo object
Si hay un obj dentro de otro, buscará dentro de este hasta encontrar el valor. Como estaba antes daba error si tenías un filtro tipo
landed:{between [x,y]}
.@ -42,6 +42,7 @@ const to = ref();
const arrayData = useArrayData('ItemLastEntries', {
url: 'Items/lastEntriesFilter',
order: ['landed DESC', 'buyFk DESC'],
searchUrl: 'itemLastEntries',
Evita mezclar los parámetros del filtro lateral con los de la tabla.