on remplie les options du select avec la bonne cle de recherche (suite)
This commit is contained in:
parent
feae594659
commit
f9a3d44193
2 changed files with 4 additions and 4 deletions
|
@ -366,7 +366,7 @@ let monTableau = {
|
||||||
Object.keys(this.filtreColType).forEach((col) => {
|
Object.keys(this.filtreColType).forEach((col) => {
|
||||||
let Tval = [''];
|
let Tval = [''];
|
||||||
this.table.forEach((t) => {
|
this.table.forEach((t) => {
|
||||||
let valCol = t.html[col];
|
let valCol = t[this.champ_search][col];
|
||||||
if (Tval.indexOf(valCol) === -1) {
|
if (Tval.indexOf(valCol) === -1) {
|
||||||
Tval.push(valCol);
|
Tval.push(valCol);
|
||||||
}
|
}
|
||||||
|
@ -412,7 +412,7 @@ let monTableau = {
|
||||||
Object.keys(this.filtreColType).forEach((col) => {
|
Object.keys(this.filtreColType).forEach((col) => {
|
||||||
let Tval = [''];
|
let Tval = [''];
|
||||||
this.table.forEach((t) => {
|
this.table.forEach((t) => {
|
||||||
let valCol = t.html[col];
|
let valCol = t[this.champ_search][col];
|
||||||
if (Tval.indexOf(valCol) === -1) {
|
if (Tval.indexOf(valCol) === -1) {
|
||||||
Tval.push(valCol);
|
Tval.push(valCol);
|
||||||
}
|
}
|
||||||
|
|
|
@ -421,7 +421,7 @@ var monTableau = {
|
||||||
var Tval = [''];
|
var Tval = [''];
|
||||||
|
|
||||||
_this4.table.forEach(function (t) {
|
_this4.table.forEach(function (t) {
|
||||||
var valCol = t.html[col];
|
var valCol = t[_this4.champ_search][col];
|
||||||
|
|
||||||
if (Tval.indexOf(valCol) === -1) {
|
if (Tval.indexOf(valCol) === -1) {
|
||||||
Tval.push(valCol);
|
Tval.push(valCol);
|
||||||
|
@ -480,7 +480,7 @@ var monTableau = {
|
||||||
var Tval = [''];
|
var Tval = [''];
|
||||||
|
|
||||||
_this4.table.forEach(function (t) {
|
_this4.table.forEach(function (t) {
|
||||||
var valCol = t.html[col];
|
var valCol = t[_this4.champ_search][col];
|
||||||
|
|
||||||
if (Tval.indexOf(valCol) === -1) {
|
if (Tval.indexOf(valCol) === -1) {
|
||||||
Tval.push(valCol);
|
Tval.push(valCol);
|
||||||
|
|
Loading…
Add table
Reference in a new issue