add ability to link to the discovery layer view of a bib

Bug #2019207 reported by Galen Charlton
56
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Wishlist
Unassigned
3.11
Fix Released
Wishlist
Unassigned

Bug Description

Given the current use of various discovery layers by several Evergreen libraries, the Evergreen OPAC may not be what patrons use frequently (or at all). Consequently, it would be handy if the staff interface's record details page had a way to generate a link to the discovery layer's view of a record.

Things that such a feature might include are:

- a library setting for the link (there's no guarantee that all members of an Evergreen consortium share the same discovery layer)
- a way to specify a URL pattern to plug in the bib record ID (and maybe other attributes such as ISBN, although the bib record ID would be the gold standard)

This might be an alternative to or replacement of the Patron View button in the record details page.

Galen Charlton (gmc)
Changed in evergreen:
importance: Undecided → Wishlist
Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

This could also be used with the Evergreen OPAC to scope to an individual library's OPAC- each of our libraries has their own skin so the Patron View button (which goes to the consortium's skin) isn't very useful for them.

We'd definitely want to be able to set this up per org unit.

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Dan Briem (dbriem) wrote :
Revision history for this message
Dan Briem (dbriem) wrote :

Would it be sufficient to create an org unit setting where you can enter the URL with a pattern placeholder for the bib record ID? Example format for Aspen might be: https://example.com/Record/{eg_record_id}

Branch: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dbriem/lp2019207_patron_view_discovery_layer_url

tags: added: staffcatalog
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Dan, is your code ready to test? It looks like it, but you didn't add the pullrequest tag.

I plan to have a look anyway because CW MARS is interested in this feature as well.

Changed in evergreen:
assignee: nobody → Jason Stephenson (jstephenson)
milestone: none → 3.next
Changed in evergreen:
assignee: Jason Stephenson (jstephenson) → nobody
tags: added: pullrequest signedoff
Revision history for this message
Jason Stephenson (jstephenson) wrote :

I have tested this code with a back port to 3.7.4 and with the latest main branch on production data.

It works for me, so I've pushed a signoff branch: user/dyrcona/lp2019207_patron_view_discovery_layer_url-signoff (https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dyrcona/lp2019207_patron_view_discovery_layer_url-signoff).

There was a conflict in Open-ILS/src/eg2/src/app/staff/catalog/record/actions.component.html that I resolved by restoring the button component inside the anchor tag. I believe that button is necessary for internationalization.

Other staff at CW MARS have tested the feature on 3.7.4 and we plan to use this in production soon.

I've added the pullrequest and signedoff tags to indicate that I think this code is ready to go. Since it touches Angular, I'd like another set of eyes on it before it goes in.

Galen Charlton (gmc)
Changed in evergreen:
assignee: nobody → Galen Charlton (gmc)
Galen Charlton (gmc)
Changed in evergreen:
milestone: 3.next → 4.0-beta
Revision history for this message
Galen Charlton (gmc) wrote :

Pushed to main for inclusion in 4.0-beta, along with a follow-up to clean up some lint. Thanks, Dan and Jason!

I'm strongly tempted to backport this to 3.12 and 3.11 as a low-impact enhancement. Any objections?

Changed in evergreen:
status: Confirmed → Fix Committed
Revision history for this message
Jason Stephenson (jstephenson) wrote :

I don't have any objections. I back ported it to 3.7.4 locally, so it should work just fine with 3.11 and 3.12.

Revision history for this message
Galen Charlton (gmc) wrote :

OK. I've gone ahead and backported it to rel_3_12 and rel_3_11.

Changed in evergreen:
milestone: 4.0-beta → 3.12.2
assignee: Galen Charlton (gmc) → nobody
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.