]> 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:40:01 +0000 (12:40 -0500)
commit553381eb82709d1d44a04bd9d2d4a9deea7b6c59
treec62e82ddd874a1c3da0244a0bd160de4046f40c4
parent57c43e9755b71eaa314bc993b2282a75527cd2f0
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