From 98db1a3984c1f04b90c41cf3c7af639645dc24a2 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 12 Oct 2015 16:54:12 +0100 Subject: [PATCH] Bug 12478: Manually add the many_to_many relationships This will create the add_to_* accessors for us. Signed-off-by: Nick Clemens Signed-off-by: Jesse Weaver Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall Signed-off-by: Brendan Gallagher --- Koha/Schema/Result/SearchField.pm | 2 +- Koha/Schema/Result/SearchMarcMap.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/SearchField.pm b/Koha/Schema/Result/SearchField.pm index b3ec80910f..09a3b6f3df 100644 --- a/Koha/Schema/Result/SearchField.pm +++ b/Koha/Schema/Result/SearchField.pm @@ -117,6 +117,6 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-12 16:41:47 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4MJO9216VF37w7PlWCcBKg +__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; diff --git a/Koha/Schema/Result/SearchMarcMap.pm b/Koha/Schema/Result/SearchMarcMap.pm index 2b00f84698..03bc94304c 100644 --- a/Koha/Schema/Result/SearchMarcMap.pm +++ b/Koha/Schema/Result/SearchMarcMap.pm @@ -125,6 +125,6 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-12 16:41:47 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nKMOxnAJST3zNN6Kxj2ynA +__PACKAGE__->many_to_many("search_fields", "search_marc_to_fields", "search_field"); -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; -- 2.39.5