Evergreen needs a way to completely hide closed/defunct library units

Bug #1277194 reported by Chris Sharp
40
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Evergreen
Wishlist
Unassigned

Bug Description

Currently in Evergreen, organizational units that have been closed can be marked "OPAC visible = false" so they don't show up in the OPAC. However, closed org units continue to be visible in the staff client, most notably in cataloging interfaces and in patron registration. I would not want to truly delete these libraries, but it would be desirable to be able to hide them completely from staff view. Possibly a "deleted" flag on the actor.org_unit object would suffice for this?

Revision history for this message
Jason Boyer (jboyer) wrote :

I wonder if this should be made more generic. There is already a wishlist item along this same line for copy locations, and I imagine if we looked hard enough there may be a couple other things that are important enough to keep, but not show in the client any longer. If a developer gets "in the groove" maybe it would be quicker to knock out all of the related changes than it would be to change ous now, locations later, and then possibly other types?

Ben Shum (bshum)
Changed in evergreen:
status: New → Triaged
Revision history for this message
Bill Erickson (berick) wrote :

+1 to adding a "deleted" flag to actor.org_unit. Time permitting, I may look into this fairly soon.

Changed in evergreen:
status: Triaged → Confirmed
Revision history for this message
Bill Erickson (berick) wrote :

Thinking about this a little more... implementing a true "this thing does not exist" deleted flag for org units, considering how ubiquitous they are, would be a considerable undertaking. If the only goal is to hide them from a few staff selector widgets, it might make more sense to simply support a "staff_visible" (or similar) field. That way we're not modifying 100 SQL functions.

Revision history for this message
Chris Sharp (chrissharp123) wrote :

Hitting this again this morning. Right now I'm thinking of an "active" boolean flag (default "true") that when marked false would remove the unit from staff and patron views (overriding whether or not opac_visible is set to true). Less final than "deleted" and more generic than "staff_visible".

Revision history for this message
Jason Boyer (jboyer) wrote :

I don't think there's much benefit to an active flag and worst case we end up with another biblio.record_entry (active AND deleted, who knows what code cares about each...) Since there's nothing *actually* final about deleting most things in Evergreen we may as well stick with it. It could also be used in a less enthusiastic way than most other deleted flags if need be (similar to Bill's comment in #3) That could be expanded into a more thorough deleted flag later without messing with the schema any further.

Revision history for this message
Chris Sharp (chrissharp123) wrote :

Okay, since I'm seeing this again today, I'm going to agree with Bill on Comment #3. Let's add a "staff_visible" column and corresponding checkbox in the org_unit UIs so that staff no longer have to see defunct units. Adding to Hack-A-Way 2018 agenda!

Elaine Hardy (ehardy)
tags: added: webstaffclient wishlist
Revision history for this message
Terran McCanna (tmccanna) wrote :

Adding to this - I like the staff_visible option for use with libraries that are new and not yet open to the public yet, or closed temporarily for renovations. The only place I can think of right now that would likely still need to see org units that are truly closed would be in reports.

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

Another option would be to append "(Hidden from OPAC)" or something like that to the org unit in the staff client selectors.

Revision history for this message
Chris Sharp (chrissharp123) wrote :

I have an in-progress branch for this here:

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

It works with the Org Unit editor fine, but I'm not successfully filtering out the staff-invisible orgs from the lists. I may need Angular/AngJS experienced eyes on it.

tags: added: usability
removed: webstaffclient wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers