Ministry - Filter/Search Programs & Offerings
User Story As a ministry user, I need to search for programs by more than just name within each institution to be able to (quickly) assist Institutions. This involves having a way to search for all institutions or search by institution location code AND being able to filter when viewing/searching programs when viewing the programs of an institution.
Acceptance Criteria
- [ ] Update the Programs view for ministry users within an Institution (Figure 1):
- [ ] Add sorting options to the fields to allow ASC/DESC (Program Name, Location name, Status[Pending,Approved,Declined,Inactive])
- [ ] Add new search options to allow better filtering: Program Name AND Location name AND Status (multiple choice option) with search button
- [ ] If this component is shared with institutions, it's okay to update the institution side too.
Business Context
Figure 1

Technical
- [ ] Create a new input to allow the search by the location name.
- [ ] Create a multi-select drop-down (or similar) to allow filter multiple statuses. By default, all should be marked.
- [ ] Add the search button.
- [ ] All three search inputs will behave as an "and" logic if provided.
- [ ] Convert the table to use Vuetify.
- [ ] Sort program statuses as below.
- Pending
- Approved
- Declined
- Inactive
- [ ] Ensure at least one E2E will be present to test the data retrieval.
QOL: SABC code, filter by location, better searching options
Met with IPDT Aug 21 to confirm details of the enhancements in this ticket.
@CarlyCotton is there a particular order for the statuses?
- They are the below ones:
- Creation pending
- Approved
- Creation declined
- Change under review
- Change awaiting approval
- Change overwritten
- Change declined
@andrewsignori-aot Can we have options that align with the Status Tag that they can see for each program? Pending, Approved, Inactive, Declined
Updated the ACs to align with discussion today about MVP solution
@CarlyCotton @sh16011993 It is my understanding that based on a conversation between you two during development, the below decisions were made.
- Statuses will be sorted in alphabetical order (including
Inactive, which is not a real status in the backend but it is displayed to the user as if it is). - When no options are selected in the dropdown for the statuses, no items will be returned.
@CarlyCotton if the above ones do not represent the output of the conversation, please let me know, otherwise, please ensure these decisions will be persisted in the ACs. If they are and I am missing something, please let me know.
@sh16011993 I've updated the ACs:

Please let me know if this is out of line with what we discussed or if I should clarify further. FYI @andrewsignori-aot