Angular Holdings View: Item Counts Incorrect

Bug #1933275 reported by Jennifer Pringle
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.8
Fix Released
Medium
Unassigned

Bug Description

Evergreen 3.7beta

In Holdings View, if you're looking at a subset of your libraries the Copies count for any org above what you have entered for Holdings Maintenance is incorrect.

For example, look at the record for Organ concertos in the Concerto dataset.

When the org unit selector for Holdings Maintenance is set to CONS you get the following counts:
CONS - 31
  SYS1 - 14
    BR1 - 7
    BR2 - 7
  SYS2 - 6
    BR3 - 4
      BM1 - 7
    BR4 - 2

Change the org unit selector to BR1 and you get:
CONS - 7
  SYS1 - 7
    BR1 - 7

The consortium still has 31 copies total, and system1 still has 14 copies total so even though we're scoped to BR1 those copy counts should reflect the actual counts.

Revision history for this message
Michele Morgan (mmorgan) wrote :

Confirmed on master post 3.7.1.

The same mis-counting also affects the Call Numbers column.

Changed in evergreen:
status: New → Confirmed
Bill Erickson (berick)
Changed in evergreen:
assignee: nobody → Bill Erickson (berick)
Revision history for this message
Bill Erickson (berick) wrote :
Changed in evergreen:
assignee: Bill Erickson (berick) → nobody
milestone: none → 3.7.2
tags: added: pullrequest
Revision history for this message
Mary Llewellyn (mllewell) wrote :

I have tested this code and consent to signing off on it with my name, Mary Llewellyn and my email address, <email address hidden>

Changed in evergreen:
assignee: nobody → Mary Llewellyn (mllewell)
assignee: Mary Llewellyn (mllewell) → nobody
assignee: nobody → Mary Llewellyn (mllewell)
tags: added: signedoff
Changed in evergreen:
assignee: Mary Llewellyn (mllewell) → nobody
Changed in evergreen:
milestone: 3.7.2 → 3.7.3
Changed in evergreen:
assignee: nobody → Jane Sandberg (sandbej)
Revision history for this message
Jane Sandberg (sandbergja) wrote :

We ran into this recently, so it's good to have this fix. Thanks, Bill and Mary!

I resolved the conflicts with bug 1928363 (on 3.8 and above) and bug 1739277, then pushed to master, rel_3_7, and rel_3_8.

Changed in evergreen:
assignee: Jane Sandberg (sandbej) → nobody
status: Confirmed → Fix Committed
importance: Undecided → Medium
Revision history for this message
Steve Callender (stevecallender) wrote :

Could a by-product of this patch be related to floating items not properly displaying in the holdings maintenance? We're finding that that items with a circ_lib that differes from the call_number owning_lib are having issue displaying since they register as 0 copies for the call_number, but yet can be manually expanded to show that's not the case. https://bugs.launchpad.net/evergreen/+bug/1961412

Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.