Items set to OPAC invisible not retrieved when group formats and editions used in staff client

Bug #1403913 reported by Elaine Hardy
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Evergreen
Won't Fix
Medium
Unassigned

Bug Description

In ver 2.7.1, a title either with all copies set to be OPAC invisible or with the search library's item set to OPAC invisible will not retrieve when the search is grouped by formats and editions. While this is behavior preferred for the public facing OPAC, we would prefer to see all records in a staff client search.

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

Add patch that allows opac_visible = 'f' items to be seen in the staff client, but remain appropriately set in the TPAC.

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

user/abowling/lp1403913_items_visible_staff_client

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

Thanks, Adam. Out of curiosity, is there a reason not to just reference ctx.is_staff directly?

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

I was setting this bug up for bug squashing day and found an error. I fixed the error and committed it here:

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

It was a single equal sign, needed to be double.

Changed in evergreen:
assignee: nobody → Jennifer Pringle (jpringle-u)
Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

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

Changed in evergreen:
assignee: Jennifer Pringle (jpringle-u) → nobody
tags: added: signedoff
Revision history for this message
Ben Shum (bshum) wrote :

Hmm, while this code was tested and there's signoffs from folks, I'm going to go with Mike's question in comment #2 above about use of the ctx.is_staff variable instead of adding the need for additional variable values.

Going to tag this temporarily with "needsrepatch" to indicate that some more work is required on this bug before we can merge.

tags: added: needsrepatch
tags: removed: pullrequest signedoff
Changed in evergreen:
status: New → Confirmed
importance: Undecided → Medium
no longer affects: evergreen/2.6
Kathy Lussier (klussier)
tags: added: metarecords
Kathy Lussier (klussier)
Changed in evergreen:
assignee: nobody → Kathy Lussier (klussier)
no longer affects: evergreen/2.7
Revision history for this message
Kathy Lussier (klussier) wrote :

Removing myself as an assignee. With the new metarecord and visibility work that has been added to Evergreen since 2.7, I think it's worth re-testing this bug to see if it's still an issue.

Changed in evergreen:
assignee: Kathy Lussier (klussier) → nobody
Revision history for this message
Terran McCanna (tmccanna) wrote :

This does not appear to be a problem in the Angular staff catalog.

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