reindexing now occurs if there are $num_records_exported or if
$skip_export is set
---
 misc/migration_tools/rebuild_zebra.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/misc/migration_tools/rebuild_zebra.pl
b/misc/migration_tools/rebuild_zebra.pl
index 5e6d985..e6ad84e 100755
--- a/misc/migration_tools/rebuild_zebra.pl
+++ b/misc/migration_tools/rebuild_zebra.pl
@@ -209,7 +209,7 @@ sub index_records {
             if $num_records_exported;
     } else {
         do_indexing($record_type, 'update',
"$directory/$record_type", $reset, $noshadow, $record_fmt,
$zebraidx_log_opt)
-            if $num_records_exported;
+            if ($num_records_exported or $skip_export);
     }
 }

--
1.5.4.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to