View | Details | Raw Unified | Return to bug 18577
Collapse All | Expand All

(-)a/Koha/Schema/Result/BiblioFramework.pm (+6 lines)
Lines 62-67 __PACKAGE__->set_primary_key("frameworkcode"); Link Here
62
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
62
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
63
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KY1w7J/5cBsz9VV7QEBKPw
63
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KY1w7J/5cBsz9VV7QEBKPw
64
64
65
__PACKAGE__->has_many(
66
    "marc_tag_structure",
67
    "Koha::Schema::Result::MarcTagStructure",
68
    { "foreign.frameworkcode" => "self.frameworkcode"},
69
    { cascade_copy => 0, cascade_delete => 0 },
70
);
65
71
66
# You can replace this text with custom content, and it will be preserved on regeneration
72
# You can replace this text with custom content, and it will be preserved on regeneration
67
1;
73
1;
(-)a/tools/manage-marc-import.pl (-2 / +1 lines)
Lines 63-69 my %cookies = parse CGI::Cookie($cookie); Link Here
63
our $sessionID = $cookies{'CGISESSID'}->value;
63
our $sessionID = $cookies{'CGISESSID'}->value;
64
our $dbh = C4::Context->dbh;
64
our $dbh = C4::Context->dbh;
65
65
66
my $frameworks = Koha::BiblioFrameworks->search({}, { order_by => ['frameworktext'] });
66
my $frameworks = Koha::BiblioFrameworks->search({ tagfield => { 'not' => undef } }, { join => 'marc_tag_structure', group_by=>'frameworkcode',order_by => ['frameworktext'] });
67
$template->param( frameworks => $frameworks );
67
$template->param( frameworks => $frameworks );
68
68
69
if ($op eq "create_labels") {
69
if ($op eq "create_labels") {
70
- 

Return to bug 18577