updated POD for ModZebra sub
authorGalen Charlton <galen.charlton@liblime.com>
Mon, 3 Mar 2008 16:37:58 +0000 (10:37 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 3 Mar 2008 16:46:11 +0000 (10:46 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Biblio.pm

index 5a6539b..e1e6026 100755 (executable)
@@ -2042,11 +2042,14 @@ sub PrepareItemrecordDisplay {
 
 =over 4
 
-ModZebra( $biblionumber, $op, $server, $newRecord );
+ModZebra( $biblionumber, $op, $server, $oldRecord, $newRecord );
 
     $biblionumber is the biblionumber we want to index
     $op is specialUpdate or delete, and is used to know what we want to do
     $server is the server that we want to update
+    $oldRecord is the MARC::Record containing the previous version of the record.  This is used only when 
+      NoZebra=1, as NoZebra indexing needs to know the previous version of a record in order to
+      do an update.
     $newRecord is the MARC::Record containing the new record. It is usefull only when NoZebra=1, and is used to know what to add to the nozebra database. (the record in mySQL being, if it exist, the previous record, the one just before the modif. We need both : the previous and the new one.
     
 =back