]> git.koha-community.org Git - koha.git/commit
Bug 19349: Store record's creator and last modifier in record
authorJulian Maurice <julian.maurice@biblibre.com>
Wed, 20 Sep 2017 12:58:07 +0000 (14:58 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 8 Nov 2018 20:53:27 +0000 (20:53 +0000)
commit42e9c49934c87f17b3350955e7d5d0860ecbe8bd
tree439e2cf86439f006e699b5f8ada08bc552b6b425
parent4a61f18f41f7fa4643bd893f525cede496329d3e
Bug 19349: Store record's creator and last modifier in record

Test plan:
1. Run updatedatabase.pl
2. Set sysprefs MarcFieldForCreatorId, MarcFieldForCreatorName,
   MarcFieldForModifierId, MarcFieldForModifierName
3. Create a new biblio
4. Verify that the fields are correctly filled
5. Logout and login as another user
6. Modify the same biblio
7. Verify that only the fields for last modifier have been modified

Works perfectly.

Signed-off-by: Simon Pouchol <simon.pouchol@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Biblio.pm
Koha/Util/MARC.pm
installer/data/mysql/atomicupdate/bug_19349.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref
t/Koha/Util/MARC.t [new file with mode: 0644]
t/db_dependent/Biblio.t