Main Koha release repository
https://koha-community.org
Nick Clemens
fcacc9fe5d
These patches move the store routine from Koha::ERM::EHoldings::Resource to Koha::ERM::EHoldings::Title as the code deals exclusively with title fields. It updates the code to ensure that records are created when a title is not attched to a biblio, and that only the biblio title field is updated when updating an eholdings title. To test: 1 - Enable ERMModule sys pref 2 - Create a new public list, visit: /cgi-bin/koha/virtualshelves/shelves.pl 3 - Click "New list" enter name, set public -> public 4 - Click "Add items", enter 112\n113\n114 (new line for each), in "Biblio numbers" 5 - Notice that all added biblios have quite a few MARC fields 6 - Go to packages, visit: /cgi-bin/koha/erm/eholdings/local/packages 7 - Create a new package, add a name and hit 'Submit' 8 - Go to titles, visit: /cgi-bin/koha/erm/eholdings/local/titles 9 - Click "import from list" 10 - Pick the package created in 7) 11 - On the row of the list created in 2), click "Import" 12 - Go back to the list, visit: /cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=1 13 - Notice all the biblios have been stripped of their MARC data, and only title remains. 14 - Go to details page for one of the bibs 15 - Edit -> Replace record via Z39.50 16 - You can search for anything, just make sure to import a mostly full record 17 - Go back to ERM - eHoldings - Local - Titles 18 - Edit the title for the record that was replaced 19 - Save 20 - Go to record details - note the record is gone again 21 - Apply patches 22 - Search the catalog 23 - Check some titles 24 - Add to a new list 25 - repeat 8 - 11 with the new list 26 - View and confirm records are intact 27 - Edit the eholdings title for one of the records, changing the title field 28 - Save and view record details 29 - Confirm record is intact and title updated Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: wainuiwitikapark <wainuiwitikapark@catalyst.net.nz> |
||
---|---|---|
acqui | ||
admin | ||
api | ||
authorities | ||
basket | ||
bin | ||
C4 | ||
catalogue | ||
cataloguing | ||
circ | ||
clubs | ||
course_reserves | ||
debian | ||
docs | ||
erm | ||
errors | ||
etc | ||
ill | ||
installer | ||
Koha | ||
koha-tmpl | ||
labels | ||
lib/CGI/Session/Serialize | ||
members | ||
misc | ||
offline_circ | ||
opac | ||
patron_lists | ||
patroncards | ||
plugins | ||
pos | ||
recalls | ||
reports | ||
reserve | ||
reviews | ||
rotating_collections | ||
serials | ||
services | ||
skel | ||
suggestion | ||
svc | ||
t | ||
tags | ||
tools | ||
virtualshelves | ||
xt | ||
.editorconfig | ||
.eslintrc.json | ||
.gitignore | ||
.htaccess | ||
.mailmap | ||
.perlcriticrc | ||
.perltidyrc | ||
.proverc.dist | ||
.stylelintrc.json | ||
about.pl | ||
app.psgi | ||
build-resources.PL | ||
changelanguage.pl | ||
cpanfile | ||
cypress.json | ||
fix-perl-path.PL | ||
gulpfile.js | ||
help.pl | ||
INSTALL | ||
Koha.pm | ||
kohaversion.pl | ||
LICENSE | ||
mainpage.pl | ||
Makefile.PL | ||
MANIFEST.SKIP | ||
package.json | ||
README | ||
README.md | ||
README.robots | ||
rewrite-config.PL | ||
tsconfig.json | ||
webpack.config.js | ||
yarn.lock |
Koha is a free software integrated library system (ILS).
Koha is distributed under the GNU GPL version 3 or later.
Note: Koha does not accept pull requests from git hosting sites.
Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.
For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch
The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook