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

(-)a/acqui/addorderiso2709.pl (-5 / +10 lines)
Lines 159-171 if ($op eq ""){ Link Here
159
        # 1st insert the biblio, or find it through matcher
159
        # 1st insert the biblio, or find it through matcher
160
        unless ( $biblionumber ) {
160
        unless ( $biblionumber ) {
161
            if ($matcher_id) {
161
            if ($matcher_id) {
162
                my $matcher = C4::Matcher->fetch($matcher_id);
162
                if ( $matcher_id eq '_TITLE_AUTHOR_' ) {
163
                my @matches = $matcher->get_matches( $marcrecord, my $max_matches = 1 );
163
                    $duplinbatch = $import_batch_id if FindDuplicate($marcrecord);
164
                if ( @matches ) {
165
                    $duplinbatch = $import_batch_id;
166
                    next;
167
                }
164
                }
165
                else {
166
                    my $matcher = C4::Matcher->fetch($matcher_id);
167
                    my @matches = $matcher->get_matches( $marcrecord, my $max_matches = 1 );
168
                    $duplinbatch = $import_batch_id if @matches;
169
                }
170
171
                next if $duplinbatch;
168
            }
172
            }
173
169
            # add the biblio
174
            # add the biblio
170
            my $bibitemnum;
175
            my $bibitemnum;
171
176
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-1 / +1 lines)
Lines 198-203 Link Here
198
                            <span>
198
                            <span>
199
                                <label for="matcher_id">Matching:</label>
199
                                <label for="matcher_id">Matching:</label>
200
                                    <select name="matcher_id" id="matcher_id">
200
                                    <select name="matcher_id" id="matcher_id">
201
                                        <option value="_TITLE_AUTHOR_">Title and author</option>
201
                                        <option value="">Do not look for matching records</option>
202
                                        <option value="">Do not look for matching records</option>
202
                                        [% FOREACH available_matcher IN available_matchers %]
203
                                        [% FOREACH available_matcher IN available_matchers %]
203
                                            [% IF ( available_matcher.code == current_matcher_code ) %]
204
                                            [% IF ( available_matcher.code == current_matcher_code ) %]
204
- 

Return to bug 16493