Skip to content
Snippets Groups Projects
Commit 1fcccb30 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

Merge branch 'tweak_active_request_pagination' into 'main'

reset pagination default to 20, fix object errors

See merge request !1332
parents e4da07f6 038a6093
No related branches found
No related tags found
2 merge requests!1390Catch up with Main,!1332reset pagination default to 20, fix object errors
Pipeline #9685 failed
Pipeline: workspaces

#9718

    ...@@ -34,7 +34,7 @@ requires = [ ...@@ -34,7 +34,7 @@ requires = [
    "beautifulsoup4>=4.9.1,<5.0", "beautifulsoup4>=4.9.1,<5.0",
    "lxml>=4.3.2,<5.0", "lxml>=4.3.2,<5.0",
    "psycopg2>=2.8.5,<3.0", "psycopg2>=2.8.5,<3.0",
    "requests>=2.23,<3.0", "requests>=2.23,<2.30.0",
    "requests-mock", "requests-mock",
    "marshmallow", "marshmallow",
    "pex==2.1.119", "pex==2.1.119",
    ......
    ...@@ -118,13 +118,13 @@ ...@@ -118,13 +118,13 @@
    </button> </button>
    </th> </th>
    <th>Current Processing Start Time</th> <th>Current Processing Start Time</th>
    <th *ngIf="capability.requires_qa"> <th *ngIf="capability && capability.requires_qa">
    Stage 1 Reviewer Stage 1 Reviewer
    <button class="btn bg-transparent border-0 btn-light btn-sm" (click)="toggleFilterMenu()"> <button class="btn bg-transparent border-0 btn-light btn-sm" (click)="toggleFilterMenu()">
    <span><i class="text-dark small fas fa-filter"></i></span> <span><i class="text-dark small fas fa-filter"></i></span>
    </button> </button>
    </th> </th>
    <th *ngIf="capability.requires_qa"> <th *ngIf="capability && capability.requires_qa">
    Stage 2 Reviewer Stage 2 Reviewer
    <button class="btn bg-transparent border-0 btn-light btn-sm" (click)="toggleFilterMenu()"> <button class="btn bg-transparent border-0 btn-light btn-sm" (click)="toggleFilterMenu()">
    <span><i class="text-dark small fas fa-filter"></i></span> <span><i class="text-dark small fas fa-filter"></i></span>
    ...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
    > >
    Processing has not started Processing has not started
    </td> </td>
    <td *ngIf="capability.requires_qa" <td *ngIf="capability && capability.requires_qa"
    [ngClass]="{ [ngClass]="{
    'staff-assigned' : request.stage_1_reviewer, 'staff-assigned' : request.stage_1_reviewer,
    'staff-unassigned' : !request.stage_1_reviewer 'staff-unassigned' : !request.stage_1_reviewer
    ...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
    </span> </span>
    </td> </td>
    <!-- for non-srdp entries, DAs want AOD color highlighting to match the DA one --> <!-- for non-srdp entries, DAs want AOD color highlighting to match the DA one -->
    <td *ngIf="capability.requires_qa" <td *ngIf="capability && capability.requires_qa"
    [ngClass]="{ [ngClass]="{
    'staff-assigned' : (getMetadata(request).is_srdp && request.stage_2_reviewer) || (!getMetadata(request).is_srdp && request.stage_1_reviewer), 'staff-assigned' : (getMetadata(request).is_srdp && request.stage_2_reviewer) || (!getMetadata(request).is_srdp && request.stage_1_reviewer),
    'staff-unassigned' : (getMetadata(request).is_srdp && !request.stage_2_reviewer) || (!getMetadata(request).is_srdp && !request.stage_1_reviewer) 'staff-unassigned' : (getMetadata(request).is_srdp && !request.stage_2_reviewer) || (!getMetadata(request).is_srdp && !request.stage_1_reviewer)
    ......
    ...@@ -171,7 +171,7 @@ export class ActiveCapabilityRequestsComponent implements OnInit, OnDestroy { ...@@ -171,7 +171,7 @@ export class ActiveCapabilityRequestsComponent implements OnInit, OnDestroy {
    pageStop: number; pageStop: number;
    pageAllVal: number; pageAllVal: number;
    getPageSizeOptions(): number[] { getPageSizeOptions(): number[] {
    const pageSizes = [5, 10, 20, 40]; const pageSizes = [20, 40];
    const pageSizeOptions = [this.pageAllVal]; const pageSizeOptions = [this.pageAllVal];
    pageSizes.forEach((size) => { pageSizes.forEach((size) => {
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment