Details
-
Story
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
-
ERM Sprint 115, ERM Sprint 116
-
Bienenvolk
Description
Update widget definition "ERM Licenses"
Base URL
/licenses/licenses
Resource
license
Display Columns
Name | Label | Path | Link |
---|---|---|---|
licenseName | License name | name | To named license view in license app |
licenseStatus | Status | status.label | |
licenseType | Type | type.label | |
startDate | Start date | startDate | |
endDate | End date | endDate | |
openEnded | Open ended? | openEnded (boolean) | |
internalContacts | Internal contact(s) | contacts (array) | |
orgs | Organization(s) | orgs (array) | |
tags | Tags | tags (array) | |
lastUpdated | Last updated | lastUpdated |
Sort Columns
Name | Sort types | Path |
---|---|---|
id | asc, desc | id |
licenseName | asc, desc | name |
licenseStatus | asc, desc | status.label |
licenseType | asc, desc | type.label |
startDate | asc, desc | startDate |
endDate | asc, desc | endDate |
lastUpdated | asc, desc | lastUpdated |
Filters
Name | Label | Path | Type | Comparators |
---|---|---|---|---|
licenseName | License name | name | String | is/is not/contains/does not contain |
license | License | id | UUID resource:license | is/is not |
licenseStatus | Status | status.label or status.value (see note below) | Enum | is/is not |
licenseType | Type | type.label or type.value (see note below) | Enum | is/is not |
startDate | Start date | startDate | Date | is/is not/on or after/on or before/is set/is not set |
endDate | End date | endDate | Date | is/is not/on or after/on or before/is set/is not set |
openEnded | Open ended? | openEnded | Boolean | true/false |
internalContacts | Internal contact(s) | contacts.user | UUID resource:user |
is/is not |
tags | Tags | tags.value | string | is/is not/contains/does not contain |
lastUpdated | Last updated | lastUpdated | DateTime | is/is not/on or after/on or before |
orgs | Organizations | orgs.org.orgs | UuidUUID resource:organization |
is/is not |
hasOrgs | Has organizations | orgs | array | isEmpty/isNotEmpty |
orgs.role | Organization role | orgs.role.label or orgs.role.value (see note below) | Enum | is/is not |
Note: Because status.label can vary from tenant to tenant (e.g. to accommodate other languages) maybe necessary to use the 'value' rather than the label in the definition to allow the definition of a set of Enum values (active/in_negotiation/not_yet_active/rejected/expired)
Note: type is a tenant editable list of refdata values so the available values in the Enum will vary from tenant to tenant. So this may need to be treated as a String type instead for the filter in the first iteration
Note: orgs.role is a tenant editable list of refdata values so the available values in the Enum will vary from tenant to tenant. So this may need to be treated as a String type instead for the filter in the first iteration
Configurable properties
- urlLink
- Configurable: true
- Default: /licenses
- numberOfRows
- Configurable: true
- Default: 10
Dev task breakdown
- Add the above to the WidgetDefinition found in https://github.com/folio-org/mod-licenses/blob/master/service/src/main/okapi/tenant/sample_data/widgetDefinitions/erm_licenses_simple_search_widget.json
- Should be pretty self explanatory from what's already there
TestRail: Results
Attachments
Issue Links
- clones
-
ERM-1651 Agreements simple search widget definition
-
- Closed
-
- defines
-
ERM-1683 ui-licenses registry implementation
-
- Closed
-
-
UXPROD-2975 Dashboard with ERM focus
-
- Closed
-
- is cloned by
-
ERM-1745 Add Organisations to Licenses simple search widget definition
-
- Closed
-
- relates to
-
ERM-1729 Is Set / Is Not Set doesn't work for Open Ended filter in license simple search widget
-
- Closed
-
-
ERM-1731 New licenses should have a default value for end date semantics
-
- Closed
-
- requires
-
UXPROD-2887 Licenses Organisation management
-
- Closed
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...