tpac scoped current holds counts volume and title holds multiple times
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Invalid
|
Undecided
|
Unassigned |
Bug Description
when changed the ctx.record_
$U->simplereq(
instead of $U->simplereq(
the result seems to be miscounting the number of holds.
Current holds
7 current hold with 3 total copies.
record display will add 1 current hold for each copy level hold, and 1 current hold per copy for each volume and each copy level hold
so if a library has 3 copies with the same call number with 1 copy level hold, 1 volume level hold and 1 title level hold it will display
Current holds
7 current hold with 3 total copies.
this seems non intuitive, it would make more sense to add 1 hold per each type of hold which would match what is displayed in the staff client view holds page resulting in:
Current holds
3 current hold with 3 total copies.
Changed in evergreen: | |
status: | New → Triaged |
tags: |
added: holds removed: hold scoped |
Changed in evergreen: | |
status: | Triaged → Invalid |
We have confirmed that in 2.2 this behaviour is present when the TPAC is loaded in a browser. The correct number of holds displays in the staff client's view of the TPAC.
This is on Evergreen 2.2
Postgres 9.1
Ubuntu 10.4