on remplie les options du select avec la bonne cle de recherche (suite)

This commit is contained in:
Christophe 2021-03-17 18:45:54 +01:00
parent feae594659
commit f9a3d44193
2 changed files with 4 additions and 4 deletions

View file

@ -366,7 +366,7 @@ let monTableau = {
Object.keys(this.filtreColType).forEach((col) => {
let Tval = [''];
this.table.forEach((t) => {
let valCol = t.html[col];
let valCol = t[this.champ_search][col];
if (Tval.indexOf(valCol) === -1) {
Tval.push(valCol);
}
@ -412,7 +412,7 @@ let monTableau = {
Object.keys(this.filtreColType).forEach((col) => {
let Tval = [''];
this.table.forEach((t) => {
let valCol = t.html[col];
let valCol = t[this.champ_search][col];
if (Tval.indexOf(valCol) === -1) {
Tval.push(valCol);
}

View file

@ -421,7 +421,7 @@ var monTableau = {
var Tval = [''];
_this4.table.forEach(function (t) {
var valCol = t.html[col];
var valCol = t[_this4.champ_search][col];
if (Tval.indexOf(valCol) === -1) {
Tval.push(valCol);
@ -480,7 +480,7 @@ var monTableau = {
var Tval = [''];
_this4.table.forEach(function (t) {
var valCol = t.html[col];
var valCol = t[_this4.champ_search][col];
if (Tval.indexOf(valCol) === -1) {
Tval.push(valCol);