Bug 14544: [QA Follow-up] DBIx::Class changes
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 16 Oct 2015 07:09:17 +0000 (09:09 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 5 Nov 2015 13:00:31 +0000 (10:00 -0300)
commit56f0e392d13f014f744239c0306d3ee87fb942c9
treed88e40b796c46b4bf3db17055968f21a7e0811bc
parent08c6d1d9d5620f2c26354c5a28a2ff6e57de92ff
Bug 14544: [QA Follow-up] DBIx::Class changes

One of the follow-ups added a belongs_to from Biblioitem to Item just
as biblioitemnumber was a foreign key to Item. The relation goes the
other way.

As a temporary measure, I added set_primary_key in the local section of
Virtualshelfcontent. Should be moved later with a real db rev.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Schema/Result/Biblioitem.pm
Koha/Schema/Result/Virtualshelfcontent.pm