Metarecord holds from staff client pulls in staff barcode

Bug #1406387 reported by Terran McCanna
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
2.8
Fix Released
Undecided
Unassigned

Bug Description

When placing a hold in Evergreen 2.7 Staff Client:

If I enter the patron barcode before clicking on Advanced Hold Options, the patron info carries to the next screen correctly.

However, if I do NOT enter a patron barcode before clicking Advanced Hold Options, the advanced screen places the staff barcode into the "Place hold for patron by barcode" field (so, "Place hold for patron by barcode" and "Place this hold for me" are both directed to the staff person). Expected behavior would be to leave the "Place hold for patron by barcode" option blank until the patron's barcode is scanned in.

Revision history for this message
Adam Bowling (abowling) wrote :

Added a fix for this behavior. Also fixed the population of the input radio option after clicking "Advanced Hold Options"

user/abowling/lp1406387_advanced_hold_option_fix

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=commit;h=e8fcc426714b000e969a8143bf292f78e7057cbe

tags: added: pullrequest
Kathy Lussier (klussier)
tags: added: metarecords
Changed in evergreen:
assignee: nobody → Terran McCanna (tmccanna)
Revision history for this message
Blake GH (bmagic) wrote :

This code has a merge conflict with master. Adam: do you mind rebasing it?

Revision history for this message
Michael Peters (mrpeters) wrote :

Blake,

Adam is currently tied up with other duties, but I've rebased it -- the only conflict was in the Template Toolkit code. Testers/sign-off appreciated!

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/mrpeters/lp1406387_fix_hold_placement_advanced_options

Revision history for this message
Mike Rylander (mrylander) wrote :

I haven't tested the code live, but there's a typo in the first hunk of the patch: is_requetor != is_requestor

Revision history for this message
Blake GH (bmagic) wrote :

Good catch Mike! Should I make that change an put it on the sandbox? If it gets sign offs it will need TLC.

Revision history for this message
Kathy Lussier (klussier) wrote :

To help get this ready for the Sandbox, I've made the typo fix in a branch at working/user/kmlussier/lp1406387_fix_hold_placement_advanced_options

Revision history for this message
Michael Peters (mrpeters) wrote :

My apologies, folks. I've corrected the typo in the original branch. Adam sends his apologies as well.

user/mrpeters/lp1406387_fix_hold_placement_advanced_options has had a --force push to correct the typo

Revision history for this message
Terran McCanna (tmccanna) wrote :

mrpeters made one additional change - the final tested version is at:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=commit;h=5dc3821e33aa94fe7e2b55e12f8ed3f14f58f060

kmlussier applied this patch to a sandbox and I tested it successfully.

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

Changed in evergreen:
assignee: Terran McCanna (tmccanna) → nobody
tags: added: signedoff
Revision history for this message
Ben Shum (bshum) wrote :

Pushed to master and backported to rel_2_9 and rel_2_8. Thanks for testing Terran!

Changed in evergreen:
milestone: none → 2.9.1
status: New → Fix Committed
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.