Make isbn search on existing records looser (to allow for MARC isbn data)."
[koha-ffzg.git] / C4 / Search.pm
index ecc7a0d..8002906 100755 (executable)
@@ -2706,8 +2706,8 @@ sub isbnsearch {
                                biblio.biblionumber = biblioitems.biblionumber";
        @bind=();
        if ($isbn) {
-               $query .= " and isbn=?";
-               @bind=($isbn);
+               $query .= " and isbn like ?";
+               @bind=(uc($isbn)."%");
        }
        if ($title) {
                $query .= " and title like ?";