[MODCR-52] Add Material Type and Loan Type to reserve.json copied item schema Created: 04/Mar/21  Updated: 06/Jul/21  Resolved: 06/Jul/21

Status: Closed
Project: mod-courses
Components: None
Affects versions: None
Fix versions: None

Type: New Feature Priority: TBD
Reporter: Erin Nettifee Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: courses
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint:
Development Team: None

 Description   

Current situation or problem:
Libraries will want to be able to report on material type, loan type, and location of reserve items. The easiest way to do that reporting will be to report on the reserve record in courses, so you ensure that you're reporting on course records.
Right now, the reserve.json schema has a number of item attributes that are copied over from the item record when the reserve is created, but is missing some attributes that libraries will want to have on the reserve record.

We need to
A) add the item record materialType value into the copied item attributes;
B) add the item record permanentLoanType and temporaryLoanType into the copied item attributes

In scope

  • Updates to reserve.json to incorporate the new schema attributes
  • Updates to the code that adds the reserve item to ensure it captures those attributes when an item is added as a reserve

Out of scope

  • Any updates to the Courses App UI to display the additional attributes on the course or reserve pane;
  • Any updates to the Courses App UI to enable searching on these attributes

Use case(s)

  • A library wants to report on electronic reserve items versus print reserve items. Being able to distinguish those items using the materialType attribute will make reporting on those items simple to do.
  • Libraries may have items that are permanently on course reserve, e.g. for courses that are taught every semester. For those items, they may decide to set the item permanent loan type to a course reserve loan type, and not put a temporary value on the record. Copying over the item permanent loan type to the reserve record will enable loan type reporting on those items in addition to loan types where

Proposed solution/stories

Links to additional info

Questions

  • If items have already been put on reserve, would institutions need to remove the item and re-add it in order to get the additional attributes? I assume so.


 Comments   
Comment by Erin Nettifee [ 04/Mar/21 ]

Kelly Drake can we add this to the next Courses meeting agenda?

Comment by Erin Nettifee [ 24/Mar/21 ]

The SIG was in favor of this, but there's been additional discussion since then about the need for more copied parts of the item record and whether simply copying things over (without associated syncing - see UXPROD-2594 Draft ) and some input from developers that using GraphQL is likely a better approach to some of these use cases. So just noting that here (not closing the feature, but it probably shouldn't proceed until the developer input is better understood.)

Comment by Erin Nettifee [ 06/Jul/21 ]

Resolving - we will not make updates to the backend for this, rather use API/LDP queries instead.

Generated at Fri Feb 09 00:28:04 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.