[koha-commits] main Koha release repository branch master updated. v3.22.00-263-g5c110a3
Git repo owner
gitmaster at git.koha-community.org
Thu Jan 14 16:30:16 CET 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 5c110a394de7f2837d6ccc1beb2d82cef9e6f416 (commit)
via 9e764b63c4bdb5f5a652951f5d6a664d8bf0599a (commit)
from 96ba9a0d6bc37c5a8d8e1edc29f5736230e9d68f (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 5c110a394de7f2837d6ccc1beb2d82cef9e6f416
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Dec 3 15:19:13 2015 +0000
Bug 15294: Koha::Libraries - Rewrite the admin scripts
This patch rewrites the admin/branches.pl script to use the new modules
instead of C4::Branches.
Test plan:
1/ Create libraries using all the fields available
2/ Create groups of libraries
3/ Assign 1+ libraries to some groups
4/ Delete libraries and groups of libraries
You should not able to delete a library if items or patrons use it.
You should not able to delete a group of libraries if there are still
libraries using it.
5/ Update libraries and groups of libraries
Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron at veron.ch>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com
commit 9e764b63c4bdb5f5a652951f5d6a664d8bf0599a
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Dec 2 16:53:33 2015 +0000
Bug 15294: Koha::Libraries - Move existing Koha::Branch[es]
There was already 2 Koha::Branch[es] using Koha::Object[s] before.
For this new rewrite, it seems preferable to start with good basis and
name the new modules Koha::Library and Koha::Libraries.
Tested both patches together, works as expected.
Signed-off-by: Marc Véron <veron at veron.ch>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com
-----------------------------------------------------------------------
Summary of changes:
Koha/Branches.pm | 62 --
Koha/Hold.pm | 8 +-
Koha/Item.pm | 6 +-
Koha/{Cities.pm => Libraries.pm} | 12 +-
Koha/{Branch.pm => Library.pm} | 31 +-
Koha/{Authorities.pm => LibraryCategories.pm} | 16 +-
Koha/{Branch.pm => LibraryCategory.pm} | 26 +-
admin/branches.pl | 537 ++++++------------
.../prog/en/modules/admin/branches.tt | 591 ++++++++++----------
t/db_dependent/Items.t | 4 +-
t/db_dependent/Koha/Libraries.t | 90 +++
11 files changed, 637 insertions(+), 746 deletions(-)
delete mode 100644 Koha/Branches.pm
copy Koha/{Cities.pm => Libraries.pm} (83%)
copy Koha/{Branch.pm => Library.pm} (59%)
copy Koha/{Authorities.pm => LibraryCategories.pm} (79%)
rename Koha/{Branch.pm => LibraryCategory.pm} (66%)
create mode 100644 t/db_dependent/Koha/Libraries.t
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list