open-ils.actor.user.checked_out.count.authoritative could be called less
Bug #1406812 reported by
Jason Stephenson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Eg Version: 2.7.1 & master as of 20141220 (probably affects older versions)
OpenSRF: master as of 20141220 (but probably irrelevant)
Postgres: 9.1.something (also irrelevant)
O/S: Ubuntu 12.04 (precise pangolin) & 14.04 (trust tahr)
Just retrieving a patron by barcode via the staff client calls open-ils.
If you look closely at the attached log, this makes 6 calls to open-ils.
To post a comment you must log in.
Confirmed in 2.5 as well.
Some additional data:
Four of the six calls to open-ils. actor.user. checked_ out.count. authoritative come from the function patron. util.set_ penalty_ css
When retrieving a patron, set_penalty_css is called twice, and that function calls: actor.user. fines.summary. authoritative actor.user. checked_ out.count. authoritative actor.note. retrieve. all.authoritati ve actor.user. checked_ out.count. authoritative (yes, a second time)
* open-ils.
* open-ils.
* open-ils.
* open-ils.
The other two calls to open-ils. actor.user. checked_ out.count. authoritative are in patron/summary.js and circ/checkout.js