From: Dan Scott Date: Mon, 14 Nov 2011 22:16:46 +0000 (-0500) Subject: Reindex is not just for non-filing indicators anymore X-Git-Tag: sprint4-merge-nov22~4627^2 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8347b18f4975457c4ef888da99cd269cf220e8de;p=working%2FEvergreen.git Reindex is not just for non-filing indicators anymore Since we discovered the apostrophe parsing problem affects records with text containing apostrophes at any position, don't limit ourselves to non-filing indicator titles. In theory you might want to reindex any record that contains an apostrophe, but in practice we found the most confusion occurs with searching for titles - so target those in the upgrade script. Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.fix-nonfiling-titles.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.fix-nonfiling-titles.sql index 3488c9630c..dad8614f29 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.fix-nonfiling-titles.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.fix-nonfiling-titles.sql @@ -3240,7 +3240,6 @@ COMMIT; SELECT metabib.reingest_metabib_field_entries(record) FROM metabib.full_rec WHERE tag = '245' - AND ind2 > '0' AND subfield = 'a' AND value LIKE '%''%' ;