LP#1217052 Include Inactive Users in Dupe Search
authorJason Boyer <jboyer1@library.in.gov>
Mon, 16 Mar 2015 14:28:33 +0000 (10:28 -0400)
committerBen Shum <bshum@biblio.org>
Wed, 19 Aug 2015 18:22:37 +0000 (14:22 -0400)
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
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 2e6f2ad..b48946f 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.