ngOnInit()

in app/src/app/components/search-box/search-box.component.ts [35:50]


  ngOnInit() {
    // Keep original params
    for (const [k, v] of Object.entries(this.defaults)) {
      if (typeof this.params[k] !== typeof v) {
        // Bad value, use default
        this.params[k] = v;
      }

      if (this.params[k] !== v) {
        this.show[k] = true;
      }
    }

    this.ready = true;
    this.go();
  }