Search bar with objects won't show anything

I want to show al my items inside a searchbar, i did looked up on internet but nothing works, im not gettting any error, but im not getting any item to show in my content. Here a leave my html and ts files. Variables are in spanish, sorry for that

  <ion-toolbar color="danger">
    <ion-buttons start
      <button ion-button icon-only color="white">
        <ion-icon name="ios-arrow-back"></ion-icon> Inicio

    <ion-buttons end>
      <button ion-button
              clear color="white"

<ion-content padding class="backgroundd">
  <ion-searchbar (ionInput)="getItems($event)">
      <ion-item *ngFor="let articulo of listaProductos">{{articulo.nombre}}</ion-item>

import {Component, OnInit} from '@angular/core';
import { NavParams } from 'ionic-angular';
import {HomePage} from "../home/home";
import {ListaTerminadaPage} from "../lista-terminada/lista-terminada";
import {Articulo} from "../../Data/articulo.interface";

  selector: 'page-elegiritems',
  templateUrl: 'elegiritems.html',
export class ElegiritemsPage implements OnInit{
  listaProductos :Articulo[]=[];

  constructor(public navParams: NavParams) {

    this.listaProductos =;

    this.listaProductos =;

    let val =;

    if (val && val.trim() != ''){
      this.listaProductos = this.listaProductos.filter((item: any) => {
        return (item.nombre.toLowerCase().indexOf(val.toLowerCase()) > -1);

What does that mean? A searchbar, by definition, shows a search and not items.

Look at the GitHub - ionic-team/ionic-conference-app: A conference app built with Ionic to demonstrate Ionic to get an idea for a searchbar that can filter a list - if that is what you are looking for.