Skip to content

Commit

Permalink
holdings: fix item collapsing
Browse files Browse the repository at this point in the history
Closes rero/rero-ils#2502.

Co-authored-by: Renaud Michotte <renaud.michotte@gmail.com>
  • Loading branch information
zannkukai committed Feb 22, 2022
1 parent e846fb0 commit fe5c88a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion projects/public-holdings-items/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<div class="container">
<div class="align-self-center justify-content-between row">
<h4 class="col-12">Document holdings items</h4>
<public-search-holdings documentpid="258" viewcode="global" class="col-12"></public-search-holdings>
<public-search-holdings documentpid="250" viewcode="global" class="col-12"></public-search-holdings>
</div>
</div>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</span>
</div>
</div>
<!-- SERIAL HOLDING INFORMATIOLNS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- SERIAL HOLDING INFORMATIONS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<dl class="row holdings-data" *ngIf="holding.metadata.holdings_type === 'serial'">
<!-- CALL NUMBER -->
<ng-container *ngIf="holding.metadata.call_number">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<public-search-holding *ngFor="let holding of holdings"
[holding]="holding"
[viewcode]="viewcode"
[collapsable]="holding.metadata.holdings_type !== 'serial'"
[collapsed]="holdingsTotal > 1"
[attr.id]="holding.metadata.pid | idAttribute : {prefix: 'holding'}"
class="card mt-2 w-100">
Expand Down

0 comments on commit fe5c88a

Please sign in to comment.