[open-ils-commits] [GIT] Evergreen ILS branch rel_3_4 updated. efce227c3ecfcd51f52b4922f35f3e092e658fc5

Evergreen Git git at git.evergreen-ils.org
Tue Aug 11 16:12:59 EDT 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_3_4 has been updated
       via  efce227c3ecfcd51f52b4922f35f3e092e658fc5 (commit)
      from  3d71e0808bc69a137c5a00a92830c982a18158ef (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit efce227c3ecfcd51f52b4922f35f3e092e658fc5
Author: Jane Sandberg <sandbej at linnbenton.edu>
Date:   Tue Aug 11 13:10:44 2020 -0700

    Docs: tweaks to 3.4.4 release notes
    
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>

diff --git a/docs/RELEASE_NOTES_3_4.adoc b/docs/RELEASE_NOTES_3_4.adoc
index fd6800e63a..703092d88b 100644
--- a/docs/RELEASE_NOTES_3_4.adoc
+++ b/docs/RELEASE_NOTES_3_4.adoc
@@ -130,6 +130,37 @@ a2enmod headers
 sudo /etc/init.d/apache2 restart
 ----
 
+Purge User Preferred Names
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+The new, user preferred name fields are now set to NULL in the
+database when a user account is purged via the staff client or using
+the actor.usr_delete function in the database.
+
+To clear the preferred name fields from records that have already been
+purged, run the following SQL update:
+
+[source,sql]
+----
+UPDATE actor.usr
+SET pref_prefix = NULL,
+    pref_first_given_name = NULL,
+    pref_second_given_name = NULL,
+    pref_family_name = NULL,
+    pref_suffix = NULL,
+    name_keywords = NULL
+WHERE usrname ~ ('^' || id || '-PURGED')
+AND NOT active
+AND deleted
+AND (
+  pref_prefix IS NOT NULL OR
+  pref_first_given_name IS NOT NULL OR
+  pref_second_given_name IS NOT NULL OR
+  pref_family_name IS NOT NULL OR
+  pref_suffix IS NOT NULL OR
+  name_keywords IS NOT NULL
+);
+----
+
 Acknowledgements
 ~~~~~~~~~~~~~~~~
 We would like to thank the following individuals who contributed code,
@@ -161,7 +192,6 @@ testing and documentation patches to the 3.4.4 point release of Evergreen:
 * Jason Stephenson
 * Josh Stompro
 * John Yorio
-* John Yorio
 
 Evergreen 3.4.3
 ---------------

-----------------------------------------------------------------------

Summary of changes:
 docs/RELEASE_NOTES_3_4.adoc | 32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list