|
|
|
@ -4,22 +4,9 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<br />
|
|
|
|
|
<!--TODO: I believe this +1 is causing off by one error skipping loading of tv shows
|
|
|
|
|
When removed and scrolling very slowly everything works as expected, however
|
|
|
|
|
if you scroll really quickly then you start getting duplicates of movies
|
|
|
|
|
since it's async and some subsequent results return first and then incrementer
|
|
|
|
|
is increased so you see movies which had already been gotten show up...
|
|
|
|
|
|
|
|
|
|
Removing infinte-scroll and setting max to 1000 till we work out some sort of fix
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
<!--<div infinite-scroll
|
|
|
|
|
[infiniteScrollDistance]="1"
|
|
|
|
|
[infiniteScrollThrottle]="100"
|
|
|
|
|
(scrolled)="loadMore()">-->
|
|
|
|
|
<div>
|
|
|
|
|
<div *ngIf="tvRequests">
|
|
|
|
|
<div *ngFor="let node of tvRequests.collection">
|
|
|
|
|
<div *ngFor="let node of tvRequests.collection">
|
|
|
|
|
<!--This is the section that holds the parent level results set-->
|
|
|
|
|
<div>
|
|
|
|
|
<div class="row">
|
|
|
|
@ -32,7 +19,7 @@
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-5 small-padding">
|
|
|
|
|
<div class="col-sm-5 small-padding">
|
|
|
|
|
<div>
|
|
|
|
|
<a href="http://www.imdb.com/title/{{node.imdbId}}/" target="_blank">
|
|
|
|
|
<h4 class="request-title">{{node.title}} ({{node.releaseDate | date: 'yyyy'}})</h4>
|
|
|
|
@ -114,8 +101,11 @@
|
|
|
|
|
<div *ngIf="node.open">
|
|
|
|
|
<tvrequests-children [childRequests]="node.childRequests" [isAdmin]="isAdmin" (requestDeleted)="childRequestDeleted($event)"></tvrequests-children>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<p-paginator [rows]="10" [totalRecords]="totalTv" (onPageChange)="paginate($event)"></p-paginator>
|
|
|
|
|
</div>
|
|
|
|
|