fix: refs #7831 add locale & hide table params #660

Merged
jorgep merged 1 commits from 7831-hotfix-addLocale into master 2024-08-30 14:08:37 +00:00
Member
No description provided.
jorgep added 1 commit 2024-08-30 10:55:33 +00:00
gitea/salix-front/pipeline/pr-master This commit looks good Details
1cdbc0fcc1
fix: refs #7831 add locale & hide table params
jorgep reviewed 2024-08-30 11:16:53 +00:00
@ -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) {
Author
Member
  • 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]}.

- 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]}`.
jorgep reviewed 2024-08-30 11:17:30 +00:00
@ -42,6 +42,7 @@ const to = ref();
const arrayData = useArrayData('ItemLastEntries', {
url: 'Items/lastEntriesFilter',
order: ['landed DESC', 'buyFk DESC'],
searchUrl: 'itemLastEntries',
Author
Member

Evita mezclar los parámetros del filtro lateral con los de la tabla.

Evita mezclar los parámetros del filtro lateral con los de la tabla.
jorgep requested review from jgallego 2024-08-30 11:18:49 +00:00
jorgep added the
CR / Tests passed
label 2024-08-30 11:26:58 +00:00
jgallego approved these changes 2024-08-30 13:20:16 +00:00
jorgep merged commit 124194ddcb into master 2024-08-30 14:08:37 +00:00
jorgep deleted branch 7831-hotfix-addLocale 2024-08-30 14:08:37 +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#660
No description provided.