From 8bd1fdc6ac9986a1061e1c8777e5bb3641abe089 Mon Sep 17 00:00:00 2001 From: toins Date: Thu, 10 Aug 2006 13:08:28 +0000 Subject: [PATCH] C4::SearchMarc is deprecated now. it is totaly replaced by C4::Search. --- cataloguing/isbnsearch.pl | 5 +++-- search.marc/dictionary.pl | 1 - search.marc/search.pl | 3 +-- search.marc/suggest.pl | 1 - 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/cataloguing/isbnsearch.pl b/cataloguing/isbnsearch.pl index d476670ff9..df3f3550d2 100755 --- a/cataloguing/isbnsearch.pl +++ b/cataloguing/isbnsearch.pl @@ -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 = (); diff --git a/search.marc/dictionary.pl b/search.marc/dictionary.pl index 0a5c7ae6d9..e7df534d7d 100755 --- a/search.marc/dictionary.pl +++ b/search.marc/dictionary.pl @@ -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; diff --git a/search.marc/search.pl b/search.marc/search.pl index d21b2ce1e3..1097d3348e 100755 --- a/search.marc/search.pl +++ b/search.marc/search.pl @@ -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 diff --git a/search.marc/suggest.pl b/search.marc/suggest.pl index 1eb528c5c3..bd015281c4 100755 --- a/search.marc/suggest.pl +++ b/search.marc/suggest.pl @@ -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 -- 2.39.5