If resource is not a periodical then date display should be <<YYYY>>

Description

If the EKB resource type is a E-resource type (aka publication type) of:
Audiobook
Book
Book Series
Database
Streaming Audio
Streaming Video
Web Site

Then coverage date (if present) should only display <<YYYY>>

Checklist

hide

TestRail: Results

Activity

Show:

Owen Stephens August 5, 2019 at 10:29 AM

Just making notes from a discussion and I had today:

  • If we are passed a date in a specific format/level of granularity, we should display as it is passed to us - i.e. if we are passed YYYY we should display YYYY

  • I'm concerned about putting business logic about remote objects (i.e. eHoldings resources) into the Agreements front-end - this feels really not the right place for this decision to happen, and creates dependencies if eHoldings changes/expands the types it supports

  • Some options for going forward might be:

    • Just say Agreements displays dates as we receive them from other sources

    • Support a date display template to be passed alongside resources so Agreements can be told how to display the dates for different resources/resource types

    • Support a user configurable list of resource types and display options in Agreements so the user can configure this for the tenant and is responsible for managing the display of dates (with the default being 'display as passed'). This is a compromise position as it keeps Agreements as the place where the business logic is applied, but it isn't hard coded in to the App

Khalilah Gambrell July 19, 2019 at 2:45 PM
Edited

- if a date is available, EKB always passes in this format YYYY-MM-DD. So the frontend is handling this requirement.

Owen Stephens July 19, 2019 at 2:40 PM

I think at the moment we are getting a coverage range on all types. Do you have/can EKB pass a specific date of publication where it exists?

Owen Stephens July 18, 2019 at 3:52 PM
Edited

I had a conversation about book publication dates with a couple of days ago and he suggested we need to extend the datamodel in Agreements to support this - I suspect this would need to be the underlying solution for fixing the display issue (as currently the single publication dates seem to be treated as coverage ranges.)

What do you think?

Details

Assignee

Reporter

Priority

Development Team

Bienenvolk

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created July 15, 2019 at 8:02 PM
Updated September 9, 2020 at 10:27 AM
TestRail: Cases
TestRail: Runs