tslittle / tiffanymaster

0 stars 0 forks source link

LP1737019: Funding sources need an active flag #35

Closed tslittle closed 2 years ago

tslittle commented 3 years ago

https://bugs.launchpad.net/evergreen/+bug/1737019

tslittle commented 3 years ago
tslittle commented 3 years ago

Wait to do this until after Sprint 2 is merged.

tslittle commented 3 years ago

Also, bake in a filter of active=t on the funding source page like how they did the fund page.

tslittle commented 3 years ago

Here's how he did the baked in filter:

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=blob;f=Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funds-manager.component.html;h=06af88a529439ebee2e1b7a0156e8a799eaee7fd;hb=355cc06e1eef05828a9472ac9f22a33c03dbe644

<eg-grid-column path="year" initialFilterOperator="=" [initialFilterValue]="getDefaultYear()"></eg-grid-column>

getDefaultYear(): string { 160 return new Date().getFullYear().toString(); 161 }

tslittle commented 3 years ago

Here's a recent commit from Bill for how to add a field:

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=commit;h=c1301ffb5c2e1a6deaf8b9353521cc38e7076f5d

tslittle commented 2 years ago

Fix Committed!