[patronIds]="recentPatronIds()"
[startWithSearch]="context.lastPatronSearch"
(searchFired)="patronSearchFired($event)"
+ (formCleared)="patronSearchCleared()"
(selectionChange)="patronSelectionChange($event)"
(patronsActivated)="patronsActivated($event)">
</eg-patron-search>
// any searches run as a result of @Input() startWithSearch.
@Output() searchFired: EventEmitter<PatronSearch>;
+ // Fired when the search form is cleared via the Clear Form button.
+ @Output() formCleared: EventEmitter<void> = new EventEmitter<void>();
+
search: any = {};
searchOrg: IdlObject;
expandForm: boolean;
clear() {
this.search = {profile: null};
+ this.searchGrid.reload();
+ this.formCleared.emit();
}
getRows(pager: Pager, sort: any[]): Observable<any> {