From 216fa8d8c0bd3e74bc731706053d3ec1169559f7 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 3 Mar 2008 10:37:58 -0600 Subject: [PATCH] updated POD for ModZebra sub Signed-off-by: Joshua Ferraro --- C4/Biblio.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 5a6539bf63..e1e6026c9b 100755 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -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 -- 2.39.5