]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1727345 - fix bibsource when importing or overlaying
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Fri, 21 Sep 2018 15:46:59 +0000 (11:46 -0400)
committerCesar Velez <cesardv@protonmail.ch>
Tue, 22 Jan 2019 17:38:16 +0000 (12:38 -0500)
commit914c321f8e1c0a209ec325209960d3b890d311ed
treef9659c91dc04a68c7ca4850c2366a8fb20573fbd
parente0bc23f8777bc55dd49f01cc0736c18e34232369
LP#1727345 - fix bibsource when importing or overlaying

This addresses several issues that were causing the
bib source to either not display correctly on the record page
or not save correctly when editing z3950 imports/overlays
Refactors passing around of bib source into eg-marc-edit and it's
child directive egMarcEditBibsource.

Two paths to test:
Path A)
    1. Import a new bib record from z3950, but via "Edit then Import"
    2. Bring up marc editor and choose save w/ bib source.
    3. Verify chosen bib source saved correctly on record page.
Path B)
    1. Mark a record as target for Overlay, go to z3950 import.
    2. Make a search, select item for Overlay.
    3. Choose Edit z3950 record to bring up marceditor, save with a bib source.
    4. Verify chosen bib source saved correctly on record page.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/templates/staff/cat/z3950/t_edit_overlay_record.tt2
Open-ILS/src/templates/staff/cat/z3950/t_marc_edit.tt2
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js
Open-ILS/web/js/ui/default/staff/cat/z3950/app.js