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

(-)a/cataloguing/value_builder/unimarc_field_010.pl (-1 / +1 lines)
Lines 91-97 sub plugin { Link Here
91
91
92
    my $dbh = C4::Context->dbh;
92
    my $dbh = C4::Context->dbh;
93
    my $len = 0;
93
    my $len = 0;
94
    my $sth = $dbh->prepare('SELECT publishercode FROM biblioitems WHERE isbn LIKE ? OR isbn LIKE ? LIMIT 1');
94
    my $sth = $dbh->prepare('SELECT publishercode FROM biblioitems WHERE REPLACE(isbn, "-", "") LIKE ? OR isbn LIKE ? LIMIT 1');
95
    
95
    
96
    $isbn =~ s/-//g;
96
    $isbn =~ s/-//g;
97
    if (length ($isbn) == 13){
97
    if (length ($isbn) == 13){
(-)a/cataloguing/value_builder/unimarc_field_225a.pl (-2 / +1 lines)
Lines 94-100 sub plugin_javascript { Link Here
94
            }
94
            }
95
                    
95
                    
96
            defaultvalue = document.getElementById(\"$field_number\").value;
96
            defaultvalue = document.getElementById(\"$field_number\").value;
97
            window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_225a.pl&index=\"+index+\"&result=\"+defaultvalue+\"&editor_found=\"+editor_found,\"unimarc225a\",'width=500,height=200,toolbar=false,scrollbars=no');
97
            window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_225a.pl&index=\"+index+\"&result=\"+defaultvalue+\"&editor_found=\"+editor_found,\"unimarc225a\",'width=500,height=400,toolbar=false,scrollbars=no');
98
    
98
    
99
        }
99
        }
100
    </script>
100
    </script>
101
- 

Return to bug 5719