[koha-commits] main Koha release repository branch master updated. v16.05.00-1282-ge6e09c5
Git repo owner
gitmaster at git.koha-community.org
Fri Oct 28 18:39:39 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 e6e09c540fa42c4c3bc3a380494f6ea5637417f3 (commit)
from d25840fc68bcacd8a8509713549b10753bdcd128 (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 e6e09c540fa42c4c3bc3a380494f6ea5637417f3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 11 11:26:35 2016 +0000
Bug 15803: Koha::AuthorisedValues - Remove C4::Koha::GetAuthorisedValueCategories
The subroutine C4::Koha::GetAuthorisedValueCategories just retrieves all
the authorised value categories.
We already have a method in the Koha::AuthorisedValues module to do this
job, let's use it!
Technical explanations:
The new subroutine of the AuthorisedValues TT plugin will allow to get
the authorised value categories from the templates.
The new html_helpers include file will get rid of the if selected else
end statements. Bug 15758 already uses this file, see the commit
description for more informations.
Test plan:
1/ Create or edit a new fund (aqbudgets.pl), the fields "statistic 1"
and "statistic 2" should be correctly filled with the list of authorised
value categories
2/ Edit subfields for a biblio and authority framework.
The "Authorized value" dropdown list should be correctly filled on both
pages
3/ Create new items search fields (from the administration area), same
as previously, the authorised value category dropdown list should be
correctly filled
4/ Add and edit patron attribute types, check the authorised value
category list.
Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Koha.pm | 21 ----------------
Koha/Template/Plugin/AuthorisedValues.pm | 15 ++++++++++++
admin/aqbudgets.pl | 23 ++++--------------
admin/auth_subfields_structure.pl | 19 ++++++++-------
admin/auth_tag_structure.pl | 9 +------
admin/items_search_field.pl | 3 ---
admin/items_search_fields.pl | 3 ---
admin/marctagstructure.pl | 10 ++------
admin/patron-attr-types.pl | 20 ++--------------
.../en/includes/admin-items-search-field-form.inc | 8 +------
.../prog/en/includes/html_helpers.inc | 10 ++++++++
.../prog/en/modules/admin/aqbudgets.tt | 25 +++-----------------
.../prog/en/modules/admin/auth_tag_structure.tt | 10 +++-----
.../prog/en/modules/admin/items_search_field.tt | 1 +
.../prog/en/modules/admin/items_search_fields.tt | 1 +
.../prog/en/modules/admin/marctagstructure.tt | 10 +++-----
.../prog/en/modules/admin/patron-attr-types.tt | 13 ++--------
.../prog/en/modules/serials/add_fields.tt | 9 ++-----
serials/add_fields.pl | 2 --
19 files changed, 61 insertions(+), 151 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list