]> git.koha-community.org Git - koha.git/commit
Bug 14187: branchtransfer needs a primary key (id) for DBIx and common sense.
authorOlli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Tue, 12 May 2015 07:19:05 +0000 (10:19 +0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 13 Jan 2017 12:20:11 +0000 (12:20 +0000)
commit292b9df91489e4456b2ce4a3bc2b0fba0c9d5770
treec869e7a7643c3a1f7e44862578256d9353a55264
parentfe3194d4d10782a43cd07a820f2a935163052dc4
Bug 14187: branchtransfer needs a primary key (id) for DBIx and common sense.

* C4/Circulation.pm (GetTransfers, GetTransfersFromTo): Also return
  branchtransfer_id in return columns.
* installer/data/mysql/atomicupdate/14187.perl: New file.
* installer/data/mysql/kohastructure.sql: Modify branchtransfers structure.
* t/db_dependent/Circulation/transfers.t: Update tests to expect
  branchtransfer_id.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Test plan successful on all steps.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Amended patch: Remove Schema changes from this patch
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Circulation.pm
installer/data/mysql/atomicupdate/14187.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
t/db_dependent/Circulation/transfers.t