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

(-)a/installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml (-2 / +2 lines)
Lines 549-555 tables: Link Here
549
          liblibrarian: "Home library"
549
          liblibrarian: "Home library"
550
          libopac: "Home library"
550
          libopac: "Home library"
551
          repeatable: 0
551
          repeatable: 0
552
          mandatory: 0
552
          mandatory: 1
553
          kohafield: items.homebranch
553
          kohafield: items.homebranch
554
          tab: 10
554
          tab: 10
555
          authorised_value: branches
555
          authorised_value: branches
Lines 567-573 tables: Link Here
567
          liblibrarian: "Current library"
567
          liblibrarian: "Current library"
568
          libopac: "Current library"
568
          libopac: "Current library"
569
          repeatable: 0
569
          repeatable: 0
570
          mandatory: 0
570
          mandatory: 1
571
          kohafield: items.holdingbranch
571
          kohafield: items.holdingbranch
572
          tab: 10
572
          tab: 10
573
          authorised_value: branches
573
          authorised_value: branches
(-)a/installer/data/mysql/en/marcflavour/unimarc/mandatory/unimarc_framework_DEFAULT.yml (-1 / +1 lines)
Lines 849-855 tables: Link Here
849
          liblibrarian: "Home library"
849
          liblibrarian: "Home library"
850
          libopac: "Home library"
850
          libopac: "Home library"
851
          repeatable: 0
851
          repeatable: 0
852
          mandatory: 0
852
          mandatory: 1
853
          kohafield: items.homebranch
853
          kohafield: items.homebranch
854
          tab: 10
854
          tab: 10
855
          authorised_value: branches
855
          authorised_value: branches
(-)a/t/db_dependent/selenium/basic_workflow.t (-1 / +13 lines)
Lines 131-136 SKIP: { Link Here
131
    $borrowernumber = $dbh->selectcol_arrayref(q|SELECT borrowernumber FROM borrowers WHERE userid=?|, {}, $sample_data->{patron}{userid} )->[0];
131
    $borrowernumber = $dbh->selectcol_arrayref(q|SELECT borrowernumber FROM borrowers WHERE userid=?|, {}, $sample_data->{patron}{userid} )->[0];
132
132
133
    my $itemtype = $sample_data->{itemtype};
133
    my $itemtype = $sample_data->{itemtype};
134
    
135
    my $homelibrary = $sample_data->{homelibrary};
136
137
    my $currentlibrary = $sample_data->{currentlibrary};
134
138
135
    my @biblionumbers;
139
    my @biblionumbers;
136
    for my $i ( 1 .. $number_of_biblios_to_insert ) {
140
    for my $i ( 1 .. $number_of_biblios_to_insert ) {
Lines 141-152 SKIP: { Link Here
141
                MARC::Field->new('200', ' ', ' ', a => 'test biblio '.$i),
145
                MARC::Field->new('200', ' ', ' ', a => 'test biblio '.$i),
142
                MARC::Field->new('200', ' ', ' ', f => 'test author '.$i),
146
                MARC::Field->new('200', ' ', ' ', f => 'test author '.$i),
143
                MARC::Field->new('200', ' ', ' ', b => $itemtype->{itemtype}),
147
                MARC::Field->new('200', ' ', ' ', b => $itemtype->{itemtype}),
148
                MARC::Field->new('200', ' ', ' ', c => $homelibrary->{homelibrary}),
149
                MARC::Field->new('200', ' ', ' ', d => $currentlibrary->{currentlibrary}),
144
            );
150
            );
145
        } else {
151
        } else {
146
            $biblio->append_fields(
152
            $biblio->append_fields(
147
                MARC::Field->new('245', ' ', ' ', a => 'test biblio '.$i),
153
                MARC::Field->new('245', ' ', ' ', a => 'test biblio '.$i),
148
                MARC::Field->new('100', ' ', ' ', a => 'test author '.$i),
154
                MARC::Field->new('100', ' ', ' ', a => 'test author '.$i),
149
                MARC::Field->new('942', ' ', ' ', c => $itemtype->{itemtype}),
155
                MARC::Field->new('942', ' ', ' ', c => $itemtype->{itemtype}),
156
                MARC::Field->new('942', ' ', ' ', b => $homelibrary->{homelibrary}),
157
                MARC::Field->new('942', ' ', ' ', d => $currentlibrary->{currentlibrary}),
150
            );
158
            );
151
        }
159
        }
152
        my ($biblionumber, $biblioitemnumber) = AddBiblio($biblio, '');
160
        my ($biblionumber, $biblioitemnumber) = AddBiblio($biblio, '');
Lines 211-216 SKIP: { Link Here
211
            ) {
219
            ) {
212
                next; # auto-filled
220
                next; # auto-filled
213
            }
221
            }
222
            elsif (
223
                $id =~ m|^tag_952_subfield_a| # homelibrary
224
            ) {
225
            elsif ( =~ m|^tag_952_subfield_b| # currentlibrary
226
            ) {
214
            elsif (
227
            elsif (
215
                $id =~ m|^tag_952_subfield_d| # dateaccessioned
228
                $id =~ m|^tag_952_subfield_d| # dateaccessioned
216
            ) {
229
            ) {
217
- 

Return to bug 33419