koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha MARCdetail.pl,1.22,1.23


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha MARCdetail.pl,1.22,1.23
Date: Tue, 02 Nov 2004 09:28:34 -0800

Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18750

Modified Files:
        MARCdetail.pl 
Log Message:
new feature : checking for duplicate biblio.

For instance, it's only done on ISBN only. Will be improved soon.

When a duplicate is detected, the biblio is not saved, but the user is asked 
for a confirmations.

Index: MARCdetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/MARCdetail.pl,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** MARCdetail.pl       27 Oct 2004 08:12:39 -0000      1.22
--- MARCdetail.pl       2 Nov 2004 17:28:31 -0000       1.23
***************
*** 66,69 ****
--- 66,71 ----
  my $biblionumber=$query->param('bib');
  my $bibid = $query->param('bibid');
+ my $popup = $query->param('popup'); # if set to 1, then don't insert links, 
it's just to show the biblio
+ 
  $bibid = &MARCfind_MARCbibid_from_oldbiblionumber($dbh,$biblionumber) unless 
$bibid;
  $biblionumber = &MARCfind_oldbiblionumber_from_MARCbibid($dbh,$bibid) unless 
$biblionumber;
***************
*** 186,189 ****
--- 188,192 ----
                                                biblionumber => $biblionumber,
                                                subscriptionid => 
$subscriptionid,
+                                               popup => $popup,
                                                );
  output_html_with_http_headers $query, $cookie, $template->output;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]