Project

General

Profile

« Previous | Next » 

Revision 60224

[Library | Trunk]
Search:
-fix: remove selected type filter did nothing
-fix: weird margin for selected filters

View differences:

newSearchPage.component.ts
1573 1573
  }
1574 1574

  
1575 1575
  removeResultType(type){
1576
    if(this.resultTypes && this.resultTypes[type]){
1577
      this.resultTypes[type]=false;
1578
      this.goTo(1);
1576
    for(let value of this.resultTypes.values){
1577
      if(type == value.id && value.selected){
1578
        value.selected = false;
1579
        this.goTo(1);
1580
        break;
1581
      }
1579 1582
    }
1580 1583
  }
1581 1584
}

Also available in: Unified diff