Bugzilla – Attachment 43350 Details for
Bug 12478
Elasticsearch support for Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12478: Manually add the many_to_many relationships
Bug-12478-Manually-add-the-manytomany-relationship.patch (text/plain), 1.57 KB, created by
Jonathan Druart
on 2015-10-12 16:18:26 UTC
(
hide
)
Description:
Bug 12478: Manually add the many_to_many relationships
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-10-12 16:18:26 UTC
Size:
1.57 KB
patch
obsolete
>From 81c93b2996a83cd8d9b5cade659c5ebc05fd3076 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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. >--- > 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 b3ec809..09a3b6f 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 2b00f84..03bc943 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.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12478
:
29204
|
31128
|
31129
|
33136
|
33137
|
33138
|
33139
|
33140
|
33141
|
35654
|
40903
|
42030
|
42031
|
42032
|
42033
|
42062
|
42063
|
42064
|
42065
|
42066
|
42067
|
42068
|
42069
|
42392
|
42393
|
43127
|
43128
|
43129
|
43130
|
43131
|
43132
|
43133
|
43134
|
43140
|
43141
|
43142
|
43148
|
43345
|
43346
|
43347
|
43348
|
43349
|
43350
|
43351
|
43352
|
43373
|
47767
|
47768
|
50115
|
50159
|
50211
|
50212
|
50213
|
50214
|
50245
|
50246
|
50291
|
50292