marc_export documentation sql example fix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.10 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I was just trying out an export using the example sql at
https:/
and noticed that the sql query there needs to exclude deleted asset.call_number entries or the results will be incorrect.
SELECT DISTINCT bre.id FROM biblio.record_entry AS bre
JOIN asset.call_number AS acn ON acn.record = bre.id
WHERE bre.deleted='false' and owning_lib=101 \g /home/opensrf/
Should be
SELECT DISTINCT bre.id FROM biblio.record_entry AS bre
JOIN asset.call_number AS acn ON acn.record = bre.id and not acn.deleted
WHERE bre.deleted='false' and owning_lib=101 \g /home/opensrf/
Need to update it at
https:/
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Working branch at user/stompro/ lp2029160_ marc_export_ doc_update
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ stompro/ lp2029160_ marc_export_ doc_update