#7897 - masterTest_24_36 #669

Merged
jsegarra merged 115 commits from 7897_masterTest_24_36 into master 2024-09-03 06:37:49 +00:00
3 changed files with 6 additions and 4 deletions
Showing only changes of commit 61721b84b9 - Show all commits

View File

@ -202,9 +202,10 @@ function formatValue(value) {
function sanitizer(params) {
for (const [key, value] of Object.entries(params)) {
if (value && typeof value === 'object') {
const param = Object.values(value)[0];
if (typeof param == 'string') params[key] = param.replaceAll('%', '');
if (typeof value === 'object' && value !== null) {
sanitizer(value);
} else if (typeof value === 'string') {
params[key] = value.replaceAll('%', '');
}
}
return params;

View File

@ -12,7 +12,7 @@ import ItemListFilter from '../ItemListFilter.vue';
search-data-key="ItemList"
:searchbar-props="{
url: 'Items/filter',
label: 'searchbar.labelr',
label: 'searchbar.label',
info: 'searchbar.info',
}"
/>

View File

@ -42,6 +42,7 @@ const to = ref();
const arrayData = useArrayData('ItemLastEntries', {
url: 'Items/lastEntriesFilter',
order: ['landed DESC', 'buyFk DESC'],
searchUrl: 'itemLastEntries',
exprBuilder: exprBuilder,
userFilter: {
where: {