Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
printTemplate="holds_for_patron"
persistKey="circ.patron.holds"
(placeHoldRequested)="newHold()"
+ [hideHoldsCount]="true"
[patronFocused]="true"
[noLoadProgress]="true"
[showPlaceHoldButton]="true"
<eg-holds-grid
printTemplate="holds_for_patron"
persistKey="circ.patron.holds"
+ [hideHoldsCount]="true"
[patronFocused]="true"
[noLoadProgress]="true"
[hidePickupLibFilter]="true"
<ng-container *ngIf="mode === 'list' && initComplete()">
- <h3 i18n>Holds Count: {{holdsCount}}</h3>
+ <h3 *ngIf="!hideHoldsCount" i18n>Holds Count: {{holdsCount}}</h3>
<div class="row" *ngIf="!hidePickupLibFilter">
<div class="col-lg-5">
})
export class HoldsGridComponent implements OnInit {
+ // Hide the "Holds Count" header
+ @Input() hideHoldsCount = false;
+
// If either are set/true, the pickup lib selector will display
@Input() initialPickupLib: number | IdlObject;
@Input() hidePickupLibFilter: boolean;