Commit 090f3d65fe5c51b8744afd1a1451a9102e88265e
1 parent
1bc34d717d
Exists in
master
Usado detalle largo en filtro.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/app/components/busqueda-productos/busqueda-productos.component.ts
... | ... | @@ -72,10 +72,10 @@ export class BusquedaProductosComponent implements OnInit { |
72 | 72 | |
73 | 73 | this.auxProductos = this.productos.filter(x => { |
74 | 74 | if (this.categoriaActive === 0) { |
75 | - return x.DetArt.toLowerCase().includes(this.searchTerm.toLowerCase()) | |
75 | + return x.DET_LAR.toLowerCase().includes(this.searchTerm.toLowerCase()) | |
76 | 76 | } |
77 | 77 | else { |
78 | - return x.DetArt.toLowerCase().includes(this.searchTerm.toLowerCase()) && | |
78 | + return x.DET_LAR.toLowerCase().includes(this.searchTerm.toLowerCase()) && | |
79 | 79 | x.categoria_selfservice === this.categoriaActive; |
80 | 80 | } |
81 | 81 | }); |