LP#1217052 Include Inactive Users in Dupe Search user/jboyer/lp1217052_check_inactive_dupes
authorJason Boyer <jboyer1@library.in.gov>
Mon, 16 Mar 2015 14:28:33 +0000 (10:28 -0400)
committerJason Boyer <jboyer1@library.in.gov>
Mon, 16 Mar 2015 14:28:33 +0000 (10:28 -0400)
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Open-ILS/web/js/ui/default/actor/user/register.js
docs/RELEASE_NOTES_NEXT/Circulation/user-reg-dupe-search-includes-inactive.txt [new file with mode: 0644]

index ced646f..b21cbb9 100644 (file)
@@ -1846,7 +1846,7 @@ function uEditDupeSearch(type, value) {
     fieldmapper.standardRequest(
         ['open-ils.actor', 'open-ils.actor.patron.search.advanced'],
         {   async: true,
-            params: [openils.User.authtoken, search],
+            params: [openils.User.authtoken, search, null, null, 1],
             oncomplete : function(r) {
                 var resp = openils.Util.readResponse(r);
                 resp = resp.filter(function(id) { return (id != patron.id()); });
diff --git a/docs/RELEASE_NOTES_NEXT/Circulation/user-reg-dupe-search-includes-inactive.txt b/docs/RELEASE_NOTES_NEXT/Circulation/user-reg-dupe-search-includes-inactive.txt
new file mode 100644 (file)
index 0000000..edeef5d
--- /dev/null
@@ -0,0 +1,3 @@
+User Registration Includes Inactive Accounts in Dupe Search
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+When registering a user the system checks to see if there are already exiting users with the same name, address, email, etc. Now this duplicate user search includes inactive users so that matches can be re-activated if desired, rather than creating duplicate accounts.