I did provide a improvement suggestion, > Eg. fix the silly join-relations itemnumber, biblionumber, biblioitemnumber. > Those are easily overridden in the manual modifications section at the > bottom of the Koha/Schema/Result/*.pm-files.
but here is a link to the DBIx::Class manual reagrding join mapping: https://metacpan.org/pod/distribution/DBIx-Class/lib/DBIx/Class/Manual/Joining.pod Here is a code example from Koha/Schema/Result/Serial.pm # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-08-18 18:03:03 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Q42+PuyJqQu7t1AuVaVdig __PACKAGE__->belongs_to( "subscription", "Koha::Schema::Result::Subscription", { "foreign.subscriptionid" => "self.subscriptionid" }, { cascade_copy => 0, cascade_delete => 0 }, ); Olli-Antti Kivilahti Järjestelmäkeittäjä vaarakirjastot.fi +358 50 449 7763 --Powered by Kubuntu Linux! On 08.09.2015 15:18, Owen Leonard wrote: >> Fix the problems, don't exaggerate them! > Can you please make constructive suggestions without resorting to > childish insults? > > Thanks, > > -- Owen > _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/