[koha-commits] main Koha release repository branch master updated. v16.05.00-594-g547b5f9
Git repo owner
gitmaster at git.koha-community.org
Fri Sep 2 17:20:54 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 547b5f95f62a00e360c5cac4e416d30365429fcb (commit)
via 50abf24ff04aae0c9010411fa6e98561c2ccc66f (commit)
from 1c87129971ddcd4289c42083a6005638b0d5370d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 547b5f95f62a00e360c5cac4e416d30365429fcb
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Tue Aug 16 09:18:19 2016 +0100
Bug 7045: Update default value placeholders for existing installs
Signed-off-by: Marc Véron <veron at veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 50abf24ff04aae0c9010411fa6e98561c2ccc66f
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Tue Aug 16 09:09:53 2016 +0100
Bug 7045: Use <<tag>> for default value placeholders
When adding a biblio, the default value of a MARC subfield defined in
the frameworks can be used as placeholders to set the current date or
the surname of the logged in user (use cases?).
The different placeholders are 'YYYY', 'MM', 'DD', 'user'.
When adding an item, same behavior except that 'user' is not replaced.
This patch makes behaviors consistent between the 2 editors and
surrounds placeholders with << >>
We will now have: <<YYYY>>, <<MM>>, <<DD>> and <<USER>>
Test plan:
Define default values for biblio and item subfields.
Create a bibliographic record and attach it an item.
The default values should be used and replaced if you used placeholders.
Signed-off-by: Marc Véron <veron at veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
cataloguing/addbiblio.pl | 21 ++++++++++++---------
cataloguing/additem.pl | 17 +++++++++++------
installer/data/mysql/atomicupdate/bug_7045.sql | 4 ++++
3 files changed, 27 insertions(+), 15 deletions(-)
create mode 100644 installer/data/mysql/atomicupdate/bug_7045.sql
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list