[koha-commits] main Koha release repository branch master updated. v16.05.00-1113-g0c9a2ee
Git repo owner
gitmaster at git.koha-community.org
Fri Oct 21 19:32:53 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 0c9a2ee9da5618764067c3e896a3af5553bf7875 (commit)
via b8df96082ec84097aac24e2128e6b8d1a34c463e (commit)
via 3d110a3c72432249613bc38333d4c0260a4356c4 (commit)
via c84f41624bb8eefa44872e15746cef5393466fb8 (commit)
from 8b570a880803241a2a87a4f99b5098da681e5c7e (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 0c9a2ee9da5618764067c3e896a3af5553bf7875
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Oct 13 13:39:09 2016 +0100
Bug 16965: Allow Koha::Objects->result_class
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit b8df96082ec84097aac24e2128e6b8d1a34c463e
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Thu Jul 28 14:28:43 2016 +0200
Bug 16965: [Follow-up] Adjust get_object_class
In many cases it should be possible to derive the Koha::Objects class
name from the DBIx result class name in a trivial manner.
If not, the DBIx result class should have a class method called
koha_objects_class providing that non-trivial name, such as Libraries
for Branch.
Note: We are only interested in the plural form here (Koha::Objects).
Test plan:
Run t/db_dependent/Koha/Objects.t
Signed-off-by: Marc Véron <veron at veron.ch>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 3d110a3c72432249613bc38333d4c0260a4356c4
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Jul 25 11:16:59 2016 +0100
Bug 16965: search_related returns an instanciated Koha::Objects-based object
Koha::Objects->search_related should return a Koha::Objects-based
object.
This search_related method should follow the same rules as the search
method, i.e. take into account what the caller want (scalar or list).
The problem here is that we do not know (in Koha::Objects) what is the
kind of objects we want to instanciate. To know it, this patch adds a
get_object_class, it will return the class of the object and the
resultset Koha::Object-based object.
The drawback of this method is that we will have to keep it up-to-date
every time we add a new Koha::Object class.
Signed-off-by: Marc Véron <veron at veron.ch>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit c84f41624bb8eefa44872e15746cef5393466fb8
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Jul 22 17:20:08 2016 +0100
Bug 16965: Add Koha::Objects->search_related
In order to search on relations, we need this new method.
Test plan:
Confirm that the changes in Objects.t make sense and that the tests
pass.
Tested all 3 patches together, followed test plan, result OK
Signed-off-by: Marc Véron <veron at veron.ch>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Objects.pm | 46 ++++++++++++++++++++++++++++++++++++++--
Koha/Schema/Result/Borrower.pm | 4 ++++
Koha/Schema/Result/Branch.pm | 5 +++++
t/db_dependent/Koha/Objects.t | 20 ++++++++++++++++-
4 files changed, 72 insertions(+), 3 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list