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

(-)a/C4/Search.pm (-7 / +1 lines)
Lines 1469-1480 sub searchResults { Link Here
1469
    }
1469
    }
1470
1470
1471
    #search item field code
1471
    #search item field code
1472
    my $sth =
1472
    my ($itemtag, undef) = &GetMarcFromKohaField( "items.itemnumber", "" );
1473
      $dbh->prepare(
1474
"SELECT tagfield FROM marc_subfield_structure WHERE kohafield LIKE 'items.itemnumber'"
1475
      );
1476
    $sth->execute;
1477
    my ($itemtag) = $sth->fetchrow;
1478
1473
1479
    ## find column names of items related to MARC
1474
    ## find column names of items related to MARC
1480
    my $sth2 = $dbh->prepare("SHOW COLUMNS FROM items");
1475
    my $sth2 = $dbh->prepare("SHOW COLUMNS FROM items");
1481
- 

Return to bug 8648