<eg-holds-grid
printTemplate="holds_pull_list"
persistKey="circ.holds.pull_list"
- preFetchSetting="circ.holds.pull_list.prefetch"
printTemplate="hold_pull_list"
+ [enablePreFetch]="true"
[hidePickupLibFilter]="true"
[pullListOrg]="targetOrg()">
</eg-holds-grid>
// If set, all holds are fetched on grid load and sorting/paging all
// happens in the client. If false, sorting and paging occur on
// the server.
- enablePreFetch: boolean;
+ @Input() enablePreFetch: boolean;
// How to sort when no sort parameters have been applied
// via grid controls. This uses the eg-grid sort format:
this.store.getItem(this.preFetchSetting).then(
applied => this.enablePreFetch = Boolean(applied)
);
- } else {
- this.enablePreFetch = false;
}
if (!this.defaultSort) {
if (this.pullListOrg) {
filters.cancel_time = null;
filters.capture_time = null;
+ filters.frozen = 'f';
- // Oddly, there are aliases for these (cp_status, cp_circ_lib),
+ // There are aliases for these (cp_status, cp_circ_lib),
// but the API complains when I use them.
filters['cp.status'] = [0, 7];
filters['cp.circ_lib'] = this.pullListOrg;