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

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 3809-3816 sub AnonymizeItemIssueHistory { Link Here
3809
    }
3809
    }
3810
3810
3811
    if ( $oi && $oi->borrower()->privacy() == 2 ) {
3811
    if ( $oi && $oi->borrower()->privacy() == 2 ) {
3812
        $oi->set_column( 'borrowernumber', $a );
3812
        $oi->update( { 'borrowernumber' => $a } );
3813
        $oi->update();
3814
    }
3813
    }
3815
}
3814
}
3816
3815
(-)a/Koha/Schema/Result/Issue.pm (-2 / +22 lines)
Lines 23-28 __PACKAGE__->table("issues"); Link Here
23
23
24
=head1 ACCESSORS
24
=head1 ACCESSORS
25
25
26
=head2 issue_id
27
28
  data_type: 'integer'
29
  is_auto_increment: 1
30
  is_nullable: 0
31
26
=head2 borrowernumber
32
=head2 borrowernumber
27
33
28
  data_type: 'integer'
34
  data_type: 'integer'
Lines 92-97 __PACKAGE__->table("issues"); Link Here
92
=cut
98
=cut
93
99
94
__PACKAGE__->add_columns(
100
__PACKAGE__->add_columns(
101
  "issue_id",
102
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
95
  "borrowernumber",
103
  "borrowernumber",
96
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
104
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
97
  "itemnumber",
105
  "itemnumber",
Lines 137-142 __PACKAGE__->add_columns( Link Here
137
  },
145
  },
138
);
146
);
139
147
148
=head1 PRIMARY KEY
149
150
=over 4
151
152
=item * L</issue_id>
153
154
=back
155
156
=cut
157
158
__PACKAGE__->set_primary_key("issue_id");
159
140
=head1 RELATIONS
160
=head1 RELATIONS
141
161
142
=head2 borrowernumber
162
=head2 borrowernumber
Lines 180-187 __PACKAGE__->belongs_to( Link Here
180
);
200
);
181
201
182
202
183
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
203
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-07-21 11:04:23
184
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2SJJ3az4Ml9hKEQvNH3+Kw
204
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:edKldSv9Wx8jFrfA7jfTnw
185
205
186
__PACKAGE__->belongs_to(
206
__PACKAGE__->belongs_to(
187
    "borrower",
207
    "borrower",
(-)a/Koha/Schema/Result/OldIssue.pm (-3 / +22 lines)
Lines 23-28 __PACKAGE__->table("old_issues"); Link Here
23
23
24
=head1 ACCESSORS
24
=head1 ACCESSORS
25
25
26
=head2 issue_id
27
28
  data_type: 'integer'
29
  is_auto_increment: 1
30
  is_nullable: 0
31
26
=head2 borrowernumber
32
=head2 borrowernumber
27
33
28
  data_type: 'integer'
34
  data_type: 'integer'
Lines 92-97 __PACKAGE__->table("old_issues"); Link Here
92
=cut
98
=cut
93
99
94
__PACKAGE__->add_columns(
100
__PACKAGE__->add_columns(
101
  "issue_id",
102
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
95
  "borrowernumber",
103
  "borrowernumber",
96
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
104
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
97
  "itemnumber",
105
  "itemnumber",
Lines 137-142 __PACKAGE__->add_columns( Link Here
137
  },
145
  },
138
);
146
);
139
147
148
=head1 PRIMARY KEY
149
150
=over 4
151
152
=item * L</issue_id>
153
154
=back
155
156
=cut
157
158
__PACKAGE__->set_primary_key("issue_id");
159
140
=head1 RELATIONS
160
=head1 RELATIONS
141
161
142
=head2 borrowernumber
162
=head2 borrowernumber
Lines 180-187 __PACKAGE__->belongs_to( Link Here
180
);
200
);
181
201
182
202
183
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
203
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-07-21 11:04:23
184
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sgsDHihVYHrTycbaqoGbaQ
204
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:i+abQcASmLxXKsJPwJCcjQ
185
205
186
__PACKAGE__->belongs_to(
206
__PACKAGE__->belongs_to(
187
  "borrower",
207
  "borrower",
188
- 

Return to bug 9011