C4::SearchMarc is deprecated now. it is totaly replaced by C4::Search.
authortoins <toins>
Thu, 10 Aug 2006 13:08:28 +0000 (13:08 +0000)
committertoins <toins>
Thu, 10 Aug 2006 13:08:28 +0000 (13:08 +0000)
cataloguing/isbnsearch.pl
search.marc/dictionary.pl
search.marc/search.pl
search.marc/suggest.pl

index d476670..df3f355 100755 (executable)
@@ -21,9 +21,8 @@ use strict;
 use CGI;
 use C4::Auth;
 use C4::Biblio;
-use C4::Search;
+use C4::Search;
 use C4::Breeding;
-use C4::SearchMarc;
 use C4::Output;
 use C4::Interface::CGI::Output;
 use HTML::Template;
@@ -87,6 +86,8 @@ my $dbh = C4::Context->dbh;
        my ($results,$total) = catalogsearch($dbh, \@tags,\@and_or,
                                                                                \@excluding, \@operator, \@value,
                                                                                $startfrom*$resultsperpage, $resultsperpage,'biblio.title','ASC');
+       warn "NB::::".$total;
+
 #      @results = @$resultsref;
 
 #     my @loop_data = ();
index 0a5c7ae..e7df534 100755 (executable)
@@ -24,7 +24,6 @@ use C4::Interface::CGI::Output;
 use C4::Auth;
 use CGI;
 use C4::Search;
-use C4::SearchMarc;
 use C4::AuthoritiesMarc;
 use C4::Context;
 use C4::Biblio;
index d21b2ce..1097d33 100755 (executable)
@@ -24,12 +24,11 @@ use CGI;
 use C4::Auth;
 use HTML::Template;
 use C4::Context;
-use C4::Search;
+use C4::Search;
 use C4::Auth;
 use C4::Output;
 use C4::Interface::CGI::Output;
 use C4::Biblio;
-use C4::SearchMarc;
 use C4::Acquisition;
 use C4::Koha; # XXX subfield_is_koha_internal_p
 
index 1eb528c..bd01528 100755 (executable)
@@ -29,7 +29,6 @@ use C4::Auth;
 use C4::Output;
 use C4::Interface::CGI::Output;
 use C4::Biblio;
-use C4::SearchMarc;
 use C4::Acquisition;
 use C4::Koha; # XXX subfield_is_koha_internal_p