Allow unapi bre function to default to root org unit

Bug #887774 reported by Bill Erickson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Wishlist
Unassigned
2.2
Fix Released
Wishlist
Unassigned

Bug Description

For most of the unapi.* DB functions, it makes the most sense to call them with a context org unit ("site") parameter value. The "bre" functions unapi.bre and unapi.biblio_record_entry_feed, however, provide primarily data that is not site-specific. To reduce the amount of up-front work required by clients to get general data from these functions, any time the org ("site") parameter is left NULL or set to "-" (consistent w/ many web front ends), default to the root org unit instead of simply returning NULL.

Patch at:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/collab/berick/unapi-indb-optional-org

Tags: pullrequest
Bill Erickson (berick)
Changed in evergreen:
importance: Undecided → Wishlist
Revision history for this message
Mike Rylander (mrylander) wrote :

Merged to master. Thanks for branchifying!

Changed in evergreen:
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.