YAOUS for when no 856$z is present

Bug #1812241 reported by Rogan Hamby
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Committed
Wishlist
Unassigned

Bug Description

Wishlist.

Have an YAOUS for display of a note when a URI does not have an 856$z accompanying the 856$u. Branch incoming.

Revision history for this message
Rogan Hamby (rogan-hamby) wrote :
tags: added: pullrequest
Changed in evergreen:
importance: Undecided → Wishlist
Michele Morgan (mmorgan)
Changed in evergreen:
milestone: none → 3.next
Changed in evergreen:
assignee: nobody → Jane Sandberg (sandbej)
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks for this branch, Rogan. I signed off on it, and added a follow up commit based on our IRC conversation.

user/sandbergja/lp1812241_nosubfieldz

Changed in evergreen:
assignee: Jane Sandberg (sandbej) → nobody
Revision history for this message
Rogan Hamby (rogan-hamby) wrote :

Looks like something has changed in master since this was done as it's not patching cleanly for me.

summary.tt2 has had changes and doesn't match the diff anymore. Some of the code removed by the patch is already removed and others changed. So, I'm going to remove the pull request tag and mark this for rebasing.

tags: added: needsrepatch
removed: pullrequest
tags: added: cat-marc
removed: wishlist
tags: added: needsrebase
removed: cat-marc needsrepatch
Changed in evergreen:
assignee: nobody → Jane Sandberg (sandbergja)
tags: added: pullrequest
removed: needsrebase
Changed in evergreen:
milestone: 3.next → 3.12-beta
Revision history for this message
Jane Sandberg (sandbergja) wrote :

I rebased Rogan's commit, and re-did mine: user/sandbergja/lp1812241_nosubfieldz-2

Some testing notes:

1. Create two records with located URIs (e.g. with 856 40 $9 CONS).
2. Give one of the records a note in 856$z
3. In the Library Settings Editor, set a value for "Default text to appear for 856 links if none is present" for your OPAC's org unit or higher.
4. Confirm that the record with the 856$z still uses the 856$z text as the link note text in the record page.
5. Confirm that the record with the 856$z still uses the 856$z text as the link note text in the search results ("show more details" needs to be on for it to display).
6. Confirm that the record without an 856$z uses the text you entered in the Library Settings Editor as the note, in both the record view and the search results page (again, with "Show More Details" turned on).

Changed in evergreen:
assignee: Jane Sandberg (sandbergja) → nobody
Andrea Neiman (aneiman)
Changed in evergreen:
status: New → Confirmed
Changed in evergreen:
assignee: nobody → Christine Morgan (cmorgan-z)
Revision history for this message
Christine Morgan (cmorgan-z) wrote :

Testing on https://terran-main.gapines.org/ and following Jane's testing step, this works as described, so I am willing to sign off on this as it is a nice feature.

I would like to note, however, that, to be consistent with the opac, this note should display in the staff catalog as well.

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

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

Christine - do you think that the OPAC-display should be added as a new bug and this should go ahead and be committed to main as-is, or do you think it warrants waiting to commit this until the OPAC display is included?

Revision history for this message
Christine Morgan (cmorgan-z) wrote :

I think this should go ahead and be committed to main as is and a new bug should be opened for the angualar staff catalog.

Thanks Terran!

Revision history for this message
Terran McCanna (tmccanna) wrote :
Changed in evergreen:
assignee: Christine Morgan (cmorgan-z) → nobody
Revision history for this message
Terran McCanna (tmccanna) wrote :

Thanks all!

Fix committed to 3.12 by Jane Sandberg and Terran McCann

Changed in evergreen:
status: Confirmed → Fix Committed
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.